Index: openacs-4/packages/richtext-ckeditor4/tcl/richtext-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/richtext-ckeditor4/tcl/richtext-init.tcl,v diff -u -r1.2.2.2 -r1.2.2.3 --- openacs-4/packages/richtext-ckeditor4/tcl/richtext-init.tcl 19 Jul 2024 11:46:20 -0000 1.2.2.2 +++ openacs-4/packages/richtext-ckeditor4/tcl/richtext-init.tcl 30 Jul 2024 11:41:55 -0000 1.2.2.3 @@ -1,21 +1,5 @@ template::util::richtext::register_editor ckeditor4 -if {[apm_package_installed_p xowiki]} { - # - # We become the preferred richtext editor for xowiki, if none was - # chosen so far. - # - set preferred_editor [::parameter::get_global_value \ - -package_key xowiki \ - -parameter PreferredRichtextEditor] - if {$preferred_editor eq ""} { - ::parameter::set_global_value \ - -package_key xowiki \ - -parameter PreferredRichtextEditor \ - -value "ckeditor4" - } -} - # Local variables: # mode: tcl # tcl-indent-level: 4 Index: openacs-4/packages/richtext-tinymce/tcl/richtext-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/richtext-tinymce/tcl/richtext-init.tcl,v diff -u -r1.2.2.3 -r1.2.2.4 --- openacs-4/packages/richtext-tinymce/tcl/richtext-init.tcl 29 Jul 2024 14:27:31 -0000 1.2.2.3 +++ openacs-4/packages/richtext-tinymce/tcl/richtext-init.tcl 30 Jul 2024 11:41:55 -0000 1.2.2.4 @@ -4,31 +4,8 @@ ::richtext::tinymce::register_urns -# -# GN: is this the right place? -# template::util::richtext::register_editor tinymce -# -# GN: this code is quite invasive. Why is this needed? -# -if {[apm_package_installed_p xowiki]} { - # - # We become the preferred richtext editor for xowiki, if none was - # chosen so far. - # - set preferred_editor [::parameter::get_global_value \ - -package_key xowiki \ - -parameter PreferredRichtextEditor] - if {$preferred_editor eq ""} { - ::parameter::set_global_value \ - -package_key xowiki \ - -parameter PreferredRichtextEditor \ - -value "tinymce" - } -} - - # Local variables: # mode: tcl # tcl-indent-level: 4 Index: openacs-4/packages/richtext-xinha/tcl/richtext-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/richtext-xinha/tcl/richtext-init.tcl,v diff -u -r1.2.2.2 -r1.2.2.3 --- openacs-4/packages/richtext-xinha/tcl/richtext-init.tcl 19 Jul 2024 11:46:20 -0000 1.2.2.2 +++ openacs-4/packages/richtext-xinha/tcl/richtext-init.tcl 30 Jul 2024 11:41:55 -0000 1.2.2.3 @@ -1,21 +1,5 @@ template::util::richtext::register_editor xinha -if {[apm_package_installed_p xowiki]} { - # - # We become the preferred richtext editor for xowiki, if none was - # chosen so far. - # - set preferred_editor [::parameter::get_global_value \ - -package_key xowiki \ - -parameter PreferredRichtextEditor] - if {$preferred_editor eq ""} { - ::parameter::set_global_value \ - -package_key xowiki \ - -parameter PreferredRichtextEditor \ - -value "xinha" - } -} - # Local variables: # mode: tcl # tcl-indent-level: 4