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