From d9d70c10b35ed8e50278c53420f98cb38f0f769a Mon Sep 17 00:00:00 2001 From: Guillaume Lafarge Date: Wed, 8 Jan 2020 10:25:58 +0100 Subject: [PATCH] Add native spellcheck to CKEditor As the native spell checker is disabled by default, this PR removes the default behaviour and restore it to check for spelling and grammar in wysiwyg editor. See : https://ckeditor.com/docs/ckeditor4/latest/features/spellcheck.html#native-browser-spell-checker --- htdocs/core/class/doleditor.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/class/doleditor.class.php b/htdocs/core/class/doleditor.class.php index 29bb1c24dce..e524d174e03 100644 --- a/htdocs/core/class/doleditor.class.php +++ b/htdocs/core/class/doleditor.class.php @@ -225,7 +225,8 @@ class DolEditor breakAfterClose : true }); } - }'; + }, + disableNativeSpellChecker: false'; if ($this->uselocalbrowser) {