Forum OpenACS Development: Re: Supporting tinymce in xowiki

Collapse
Posted by Dave Bauer on
I just changed this line of code:

{text:richtext(richtext),nospell,optional
{label #xowiki.content#}
{options {editor [parameter::get -parameter "RichTextEditor" -p\
ackage_id [apm_package_id_from_key "acs-templating"] -default "xinha"] plugins {
[parameter::get -parameter "XowikiXinhaDefaultPlugins" -default [parameter::get\
_from_package_key -package_key "acs-templating" -parameter "XinhaDefaultPlugins\
"]]

to check the acs-templating parameter instead of always using Xinha. Perhaps we need an expression in there to fallback to xinha or tinymce if RTE is choosen? How many people are still using RTE?

I guess it would make sense to change the parameters form XinhaDefaultPlugins to RichtextEditorDefaultPlugins? I will look into documenting the available plugins and choosing defaults for TinyMCE as well.