WikiMatrix

#1 2007-11-26 12:40:16

daffe
Member
Registered: 2007-11-26
Posts: 1

Tikiwiki, WYSIWYG, and Code-Highlighting

Hello,

me and my friend are trying to set up a wiki for a couple of programmers.
We would like to use the WYSIWYG-feature that is in the newest version of TikiWiki,
And we would like to get code highlighted.

We got Code-Highlighting working with GeSHi, and the WYSIWYG works like a charm.
But together they don't work like they should.

When you try to insert code, it has to be done in non-WYSIWYG-view,
That works, but when you save and then edit again, all the code appears on one line.

Does anyone know a workaround or a fix for this?

Thanks in advance,
David

Offline

 

#2 2009-06-04 14:56:15

needwiki
Member
Registered: 2009-06-04
Posts: 1
Website

Re: Tikiwiki, WYSIWYG, and Code-Highlighting

It is great point, but TikiWiki can't support both by now.

Offline

 

#3 2010-06-19 17:45:06

marclaporte
Administrator
From: Montreal, Canada
Registered: 2006-06-25
Posts: 69
Website

Re: Tikiwiki, WYSIWYG, and Code-Highlighting

Hi!

I suggest you try again in the latest version (5.0).

Mix & matching wiki syntax & WYSIWYG (html) can generate surprising results. Last time I checked, both CK editor and TinyMCE (two of the important WYSIWYG editors) where __not__ using WYSIWYG on their own wikis. If it was easy & stable, we could expect that they would. And we would certainly emulate their recipe :-)

Back to Tiki: there are many options in tiki-admin.php?page=wysiwyg, so you can tweak to your use case. http://doc.tikiwiki.org/PluginCode also has a "wrap" parameter. This enables line wrapping on the code, if necessary.

Best regards,

M ;-)

Offline

 

You are not logged in.


Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB