[Rt-commit] rt branch 5.0/restore-browser-spellcheck created. rt-5.0.2-73-ga0367897e8
BPS Git Server
git at git.bestpractical.com
Fri Feb 18 16:53:32 UTC 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".
The branch, 5.0/restore-browser-spellcheck has been created
at a0367897e8963171abee5282af97d61cc64bfa4f (commit)
- Log -----------------------------------------------------------------
commit a0367897e8963171abee5282af97d61cc64bfa4f
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Fri Feb 18 11:47:38 2022 -0500
Allow browser spellchecker to work in CKEditor windows
This setting was lost from RT 4.4 when we removed other
CKEditor settings that were explicitly setting values that
were already the default in CKEditor.
The documentation and naming of this option are a bit misleading,
but this change allows the browser spell checker to underline
mis-spelled words and right-click shows suggestions.
Fixes: I#37323
diff --git a/share/static/RichText/config.js b/share/static/RichText/config.js
index 1a7824a097..148e938b46 100644
--- a/share/static/RichText/config.js
+++ b/share/static/RichText/config.js
@@ -31,4 +31,6 @@ CKEDITOR.editorConfig = function( config ) {
if ( RT.Config.WebDefaultStylesheet.match(/dark/) ) {
config.contentsCss = [ RT.Config.WebPath + '/static/RichText/contents.css', RT.Config.WebPath + '/static/RichText/contents-dark.css' ];
}
+
+ config.disableNativeSpellChecker = false;
};
-----------------------------------------------------------------------
hooks/post-receive
--
rt
More information about the rt-commit
mailing list