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

This commit is contained in:
Andrew Nicols 2024-01-18 12:52:54 +08:00
parent 580c009cac
commit 81d9f60840
No known key found for this signature in database
GPG Key ID: 6D1E3157C8CFBF14
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

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);