Forum OpenACS Development: Re: list of plugin for xinha on xowiki-forms

Collapse
Posted by Hamilton Chua on
If we create a parameter say "XowikiXinhaDefaultPlugins" and fill it with the comma separated list of xinha plugins that xowiki uses right now.

It would look something like below

***************

{f.text
{text:richtext(richtext),nospell,optional
{label #xowiki.content#}
{options {editor xinha plugins {
[parameter::get -parameter "XowikiXinhaDefaultPlugins" -default [parameter::get_from_package_key -package_key "acs-templating" -parameter "XinhaDefaultPlugi
ns"]]
} height 350px
}}
{html {rows 15 cols 50 style {width: 100%}}}}
}

**************

Furthermore, if user blanks the parameter it will default tothe acs-templating parameter.