hello friends and fOe of the tiki community........
as u all know it, many seem to be lookin for this feature...and im here just to share what i had came across......

its not the best solution to having a wysiwyg editor for your wiki pages but it is worth having as long as you comprehend its limitations.

i have talked to real developers of the tiki community and wysiwyg feature(the real thing) is soon commin our way. so, as of now, it wont hurt to have this as a supplementary editor.

the down side to this editor is possible XSS, sea surf attacks. search google to know more about what it does. so, use this causiously and its better to allow html only to trusted editors rather public.

the files below is a working package of the FCKeditor.net. wiki links will display wiki pages and 2 edit buttons on top. edit-normal-editor and edit-wysiwyg-editor. while editing, u can change between editor. and the use of wiki-syntax is allowed. i made a small usage instruction replacing the 'wiki help' default link. allow-html is made sticky on both normal/wysiwyg and some function like upload-html and such has been taken off the template file for cross-compatibility.

the only problem now with this feature is that, if u ever edit a page using a normal editor, and later re-edit a page using the wysiwyg, your original wiki layout will be lost. such things are like paragraphs mashed together........as html takes away blank space....

this is an easy edit, but ill let the pro figure this out.

so the best way, as how i feel it should be, dont use the wysiwyg if u have edited something with the normal editor. u can use wiki-syntax on the wysiwyg so just move on....hehe and forget USING THE NORMAL EDITOR...

unless u wont be re-editing it back with the wysiwyg..then its all good.........u know what i mean!....

just copy the tpl's in ure template folder and the php's in ure tiki root. thats it.

this was tested on 1.8.5....didnt try on 1.9 but i think it should work well...
or better yet, just copy the code and change all the url paths. the 'preview' of wysiwyg editor is linking to tiki-editpage.php, to make it work, change the href to tiki-editpage2.php.......but then again, why would u need a preview??

this is the techie stuff for the DIY.....

i tried many times, changing this and that, goin back and forth to tinymce forums but had found no better clue to make it work at all......

the editor loads up just nice but all saved page become cut-off in the middle, so that should look like wiki page filling only half of 100% wide of $mid. i dont know why and i dont want to know cuz i have something else that works better... hehe

1. append this just below the text-area of the wiki. and change the basepath to the ones on ure site. notice line 3 where editwiki is the name of the text area.

2. to change all instance of a text-area, just edit ure template files and append this same 9 line of code below that text-area and change the 'editwiki' name to the name of that box. as simple as 123 huh?...

3. and make sure u make allow-html sticky or default it to 'checked' and disable it.

for the normal editor, do the step3. if u forget to do this, ure settings will be gone each time u load or swap editor........

and just download fckeditor and unzip at ure tiki root. thats it folks!
-----
whatever it is, if ud like this, do join tiki irc #tikiwiki at freenode. we need more ppl there az the channel is kinda dead.....peace
-ikky

Why Register?

Register at tiki.org and you'll be able to use it at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.

Subscribe to Tiki Newsletters!

Delivered fresh to your email inbox!Don't miss major announcements and other news!

Shoutbox

Torsten Fabricius, 09:54 UTC, Wed 19 Feb 2014:
Hello everybody, please mind the ((TikiFestSysadmin2014)) in August. Mainly meant for the Sysadmins, which are located in and near Germany (and France), active community members from Canada are expected to be attending.