X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5b7ec63080c8280f3f4d9c58287cf95d7779a775..55ed4b89fc9f394dcdec74cddae8ca3a2d60cbb3:/doc/todo/wikiwyg.mdwn?ds=sidebyside diff --git a/doc/todo/wikiwyg.mdwn b/doc/todo/wikiwyg.mdwn index fd80aca25..d5331b2fb 100644 --- a/doc/todo/wikiwyg.mdwn +++ b/doc/todo/wikiwyg.mdwn @@ -4,4 +4,20 @@ gui or in wikitext and converts edits back to wiki format to be saved to the wiki. It would be awesome to use this in ikiwiki, but to take full advantage of -it with ikiwiki, it would need to know about MarkDown. +it with ikiwiki, it would need to know about MarkDown. Wikiwyg does allow +defining the text that is stuck on each side of a given html element to +make it wikified, for example, it can add "# " for a h1, "[[" and "]]" for +a link, etc. This seems easily doable. + +The other thing that would need doing is a `saveChanges` function would +need to be implemented that saves the text back to ikiwiki. +http://svn.wikiwyg.net/code/trunk/wikiwyg/share/Kwiki/lib/Wikiwyg/Kwiki.js +seems like a good starting point for building a submit form on the fly. + +One other problem: Wikiwyg works by parsing html from a div, turning it +back into the wiki markup, and editing/saving that. That seems to assume +that there's a way of parsing a page's html and getting back to the underlying +wiki markup, which is not always the case in ikiwiki. Unless there's some +other way to feed it the actual source for a page, this seems like a +problem. According to the developers, it is possible to do that, and start +off in WikiText mode.