MDL-79152 editor_tiny: Enable browser-based spell-checking

This commit is contained in:
Andrew Nicols
2024-01-18 12:53:38 +08:00
parent 076379a485
commit 4064887a19
3 changed files with 7 additions and 2 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+5
View File
@@ -302,6 +302,11 @@ const getStandardConfig = (target, tinyMCE, options, plugins) => {
// eslint-disable-next-line camelcase
ui_mode: 'split',
// Enable browser-supported spell checking.
// https://www.tiny.cloud/docs/tinymce/latest/spelling/
// eslint-disable-next-line camelcase
browser_spellcheck: true,
setup: (editor) => {
Options.register(editor, options);