[dokuwiki] Re: Thoughts On FCKW

Hi all,

Spring Pierre wrote:
.
.
I don't know about the comlexities of FCKW - but I've been thinking for a while if its possible to rewrite FCKW to use DokuWiki syntax instead of (X)HTML, and let it be rendered by the DW-Engine snippet by snippet via AJAX ...

this comment gave me an idea... most of the work could be done on the client side... just hook into the TPL_METAHEADER_OUTPUT and dynamically add a "edit in WYSIWYG" button... then, when clicked, get the rendered xhtml via ajax... load the fck editor... and work.

on save (or save draft), the xhtml can be transfomed on client side using xslt.js [1] !!! i love that idea most ;)

what do you think about this? most of the hard work is done (the fck editor for DW)... i think this rewrite would not be too difficult, but way cleaner.
I think that WYSIWYG is somehow a must for some users, not for me personally but for many I know. Thats why I love the integration of FCK.

I have an addition to Pierre's great idea about the "edit in WYS.." button loading FCKW using AJAX. That is an individual user setting(maybe using cookies) whether you want regularly want to use fck or the dokuwiki editor. The editor set will be loaded by default.

What do you think about that? What possibilities do you have to set userspecific settings?

Best regards

Kay
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: