Forum OpenACS Development: Re: Supporting tinymce in xowiki

Collapse
Posted by Gustaf Neumann on
is your intention to replace xinha completely by TinyMCE?

why new parameters. you should be able to use {options {editor EDITOR plugins {YOURPLUGINS}} in the richtext widget.
http://openacs.org/api-doc/proc-view?proc=template%3a%3awidget%3a%3arichtext

what is the problem with the back-button in xinha? OpenACS 5.3.1 uses HTML 4.01 Transitional, not xhtml.

Collapse
Posted by Dave Bauer on
Gustaf,

I would like to make tinymce an option alongside xinha. I'd like it to be consistent with xowiki and the rest of the richtext areas across the site. To do that I'd need to change the code that generates the form in xowiki-form-procs.tcl It seems pretty easy to do that flexibly.

The back button problem is subtle. If you are editing content and for exmaple, you browser session expires. You may be reidrected to login when you submit the form. In xinha, if you then hit the back button to go back to the screen to edit the content, the xinha textarea is empty.

TinyMCE handles this correctly. I submitted a bug for Xinha but it has not been fixed yet.