richtext::ckeditor4::add_editor (public)

 richtext::ckeditor4::add_editor [ -ck_package ck_package ] \
    [ -version version ] [ -adapters adapters ] [ -order order ]

Defined in packages/richtext-ckeditor4/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:
-ck_package (optional)
-version (optional)
-adapters (optional)
-order (optional, defaults to "10")

Partial Call Graph (max 5 caller/called nodes):
%3 richtext::ckeditor4::initialize_widget richtext::ckeditor4::initialize_widget (public) richtext::ckeditor4::add_editor richtext::ckeditor4::add_editor richtext::ckeditor4::initialize_widget->richtext::ckeditor4::add_editor richtext::ckeditor4::resource_info richtext::ckeditor4::resource_info (public) richtext::ckeditor4::add_editor->richtext::ckeditor4::resource_info security::csp::require security::csp::require (public) richtext::ckeditor4::add_editor->security::csp::require template::head::add_javascript template::head::add_javascript (public) richtext::ckeditor4::add_editor->template::head::add_javascript

Testcases:
No testcase defined.
[ show source ]
Show another procedure: