Index: openacs-4/packages/richtext-ckeditor4/tcl/richtext-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/richtext-ckeditor4/tcl/richtext-procs.tcl,v diff -u -N -r1.12 -r1.13 --- openacs-4/packages/richtext-ckeditor4/tcl/richtext-procs.tcl 6 Aug 2018 12:58:26 -0000 1.12 +++ openacs-4/packages/richtext-ckeditor4/tcl/richtext-procs.tcl 4 Oct 2018 08:38:44 -0000 1.13 @@ -16,24 +16,29 @@ set package_id [apm_package_id_from_key "richtext-ckeditor4"] + # + # The CKeditor 4 configuration can be tailored via the NaviServer + # config file: + # # ns_section ns/server/${server}/acs/richtext-ckeditor # ns_param CKEditorVersion 4.10.0 # ns_param CKEditorPackage standard # ns_param CKFinderURL /acs-content-repository/ckfinder # ns_param StandardPlugins uploadimage # - set version [parameter::get \ - -package_id $package_id \ - -parameter CKEditorVersion \ - -default 4.10.0] - set ckfinder_url [parameter::get \ - -package_id $package_id \ - -parameter CKFinderURL \ - -default /acs-content-repository/ckfinder] - set standard_plugins [parameter::get \ - -package_id $package_id \ - -parameter StandardPlugins \ - -default ""] + set ::richtext::ckeditor4::version [parameter::get \ + -package_id $package_id \ + -parameter CKEditorVersion \ + -default 4.10.0] + + set ::richtext::ckeditor4::ckfinder_url [parameter::get \ + -package_id $package_id \ + -parameter CKFinderURL \ + -default /acs-content-repository/ckfinder] + set ::richtext::ckeditor4::standard_plugins [parameter::get \ + -package_id $package_id \ + -parameter StandardPlugins \ + -default ""] # # The cp_package might be basic, standard, of full;