diff --git a/htdocs/core/class/doleditor.class.php b/htdocs/core/class/doleditor.class.php index 925263411d0..f0487fd875b 100644 --- a/htdocs/core/class/doleditor.class.php +++ b/htdocs/core/class/doleditor.class.php @@ -251,7 +251,7 @@ class DolEditor } */ }, - disableNativeSpellChecker: '.(!getDolGlobalString('CKEDITOR_NATIVE_SPELLCHECKER') ? 'true' : 'false'); + disableNativeSpellChecker: '.(getDolGlobalString('CKEDITOR_NATIVE_SPELLCHECKER') ? 'false' : 'true'); if ($this->uselocalbrowser) { $out .= ','."\n"; diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 2bdef06401f..7897ce22ce4 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -3431,6 +3431,8 @@ if (!GETPOST('hide_websitemenu')) { // Edit CKEditor if (getDolGlobalInt('WEBSITE_ALLOW_CKEDITOR')) { print ''.dol_escape_htmltag("CKEditor").''; + } else { + print ''; } print '';