diff --git a/htdocs/core/class/doleditor.class.php b/htdocs/core/class/doleditor.class.php index 29bb1c24dce..f4909a02df0 100644 --- a/htdocs/core/class/doleditor.class.php +++ b/htdocs/core/class/doleditor.class.php @@ -225,7 +225,8 @@ class DolEditor breakAfterClose : true }); } - }'; + }, + disableNativeSpellChecker: '.(empty($conf->global->CKEDITOR_NATIVE_SPELLCHECKER)?'false':'true'); if ($this->uselocalbrowser) {