
|
[dokuwiki]
||
[Date Prev]
[02-2008 Date Index]
[Date Next]
||
[Thread Prev]
[02-2008 Thread Index]
[Thread Next]
[dokuwiki] Re: A pleasure to work with FCKeditor
- From: Christopher Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sun, 10 Feb 2008 13:28:50 +0000
Plugin codes like those from {{NEWPAGE}} are recognized. However,
{{indexmenu>namespace1#2}} disappears from the page. Thus I have a
problem editing the sidebars of the site, even when I use the Wiki
syntax option.
- this has been told to me several times already. and i have been
thinking about this for quite some time now... for now, each and
every plugin has to be hacked in one by one... i'd hope to find a
better way soon... but i didn't come across the necessary "good
idea" for that yet ;)
in [2] and [3] you can see how i hacked in the discussion plugin
(it's a dirty and quick hack, but i works)... so, if you use svn,
you could try to hack your plugins in and hope not to get a conflict
when updating ;)
the thing about plugins is, that they need to be:
(a) rendered into s.th. that is editable in the fck
(b) need to have a wysiwyg interface, so to speak...
(c) need to be translated back into wiki syntax
in the example of the discussion plugin, you need to get a checkbox
that tells you
[x] display discussion
which gets translated back to ~~DISCUSSION~~ or ~~DISCUSSION:off~~ ...
this process has to be somehow generic... i do not think, that
plugin writers will be motivated to do that work. neither can one
expect the person that installs the syntax plugin to do it... so
we'd need some kind of plugin system within the fckw plugin ;)
sounds fun, right?
sooooo... how to solve this in a generic way?!? i do not know yet ;(
I can think of one thing you might like to try.
Document a method that plugin writers can implement to support the
DokuwikiFCK plugin. If it is relatively simple, you should find that
over time plugins will come to support it. If it comes to be an
important part of DokuWiki I am sure a column can be added to the
plugin table to indicate whether or not the plugin supports the
FCKEditor.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
|

|