richtext::xinha::add_editor (public)
richtext::xinha::add_editor [ -conf conf ] [ -version version ] \ [ -order order ]
Defined in packages/richtext-xinha/tcl/richtext-procs.tcl
Add the necessary JavaScript and other files to the current page. The naming is modeled after "add_script", "add_css", ... but is intended to care about everything necessary, including the content security policies. Similar naming conventions should be used for other editors as well. This function can be as well used from other packages, such e.g. from the xowiki form-fields, which provide a much higher customization.
- Switches:
- -conf (optional)
- -version (optional)
- -order (optional, defaults to
"10"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.