[pmwiki-users] Pre-alpha rich text WYSIWTF editor

Petko Yotov 5ko at 5ko.fr
Wed Mar 30 09:10:11 CDT 2011


On Wednesday 30 March 2011 15:45:38, Eemeli Aro wrote :
> On 30 March 2011 15:41, Petko Yotov <5ko at 5ko.fr> wrote:
> > It is so hard to edit without a recent JavaScript-enabled browser, that I
> > contemplate writing a JavaScript wiki2html2wiki parser that would read
> > and save the wikitext. That's technically complex and will not be a
> > perfect clone of the PHP version. 

> In case you're interested, I once played around with a live HTML
> preview for PmWiki action=edit. 
...
> <http://www.pmwiki.org/pmwiki/uploads/Cookbook/js-preview.php> and
> <http://www.pmwiki.org/pmwiki/uploads/Cookbook/edit-markup.js.txt>

Thanks, this is promising, I'll look at it this weekend. 


> As for the WYGIWYG component, I strongly suggest generating PmWiki
> markup directly and using something like the above to turn that to
> HTML for the live edit display.

This would be the best solution, if we manage to square those circles. We 
will. :-)

Petko



More information about the pmwiki-users mailing list