richtext::ckeditor5::add_editor (public)

 richtext::ckeditor5::add_editor [ -ck_package ck_package ] \
    [ -version version ]

Defined in packages/richtext-ckeditor5/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)

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

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