Index: openacs-4/packages/richtext-ckeditor4/richtext-ckeditor4.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/richtext-ckeditor4/richtext-ckeditor4.info,v diff -u -r1.1.2.2 -r1.1.2.3 --- openacs-4/packages/richtext-ckeditor4/richtext-ckeditor4.info 3 Jan 2016 21:39:03 -0000 1.1.2.2 +++ openacs-4/packages/richtext-ckeditor4/richtext-ckeditor4.info 5 Jan 2016 18:24:38 -0000 1.1.2.3 @@ -8,20 +8,20 @@ t f f - - + + Gustaf Neumann - Richtext editor plugin for integrating CKeditor 4 with acs-templating - + Richtext editor plugin for integrating CKeditor 4 with acs-templating + 2016-01-05 0 - - + + - + 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 -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/richtext-ckeditor4/tcl/richtext-procs.tcl 3 Jan 2016 20:54:52 -0000 1.1.2.1 +++ openacs-4/packages/richtext-ckeditor4/tcl/richtext-procs.tcl 5 Jan 2016 18:24:39 -0000 1.1.2.2 @@ -37,11 +37,18 @@ set ckOptionsList {} if {![dict exists $options spellcheck]} { - dict set options spellcheck true + dict set options spellcheck [parameter::get \ + -package_id [apm_package_id_from_key "richtext-ckeditor4"] \ + -parameter "SCAYT" \ + -default "false"] } + # For the native spellchecker, one has to hold "ctrl" or "cmd" + # with the right click. + lappend ckOptionsList \ "language: '[lang::conn::language]'" \ + "disableNativeSpellChecker: false" \ "scayt_autoStartup: [dict get $options spellcheck]" if {[dict exists options plugins]} {