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
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.