[pmwiki-users] WYSIWYG on PmWiki

Svetlana Tkachenko svetlana at members.fsf.org
Mon Jun 17 21:23:14 PDT 2019


Peter Kay <pkay42 at gmail.com> wrote:
> 
> > It would be nice to know how Google Docs overcomes this problem
> 
> Probably through the liberal application of money, which can hire people to work.
> 
> Pmwiki's markup is translated to HTML server-side by a php-based engine. In order to have a WYSIWYG editor, you would need a way to translate client-side, probably javascript? 

Does it have to be javascript? Perhaps an api which can translate from html to markup and back on the server side?

With another wiki the translation from html to markdown is enormously difficult. Is this the case here?

They resolve this by adding additional attributes (like <p data-foo="bar">) to the html markup. Is this the best approach?

-- Sveta



More information about the pmwiki-users mailing list