mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-79152 editor_tiny: Enable browser-based spell-checking
This commit is contained in:
parent
580c009cac
commit
81d9f60840
2
lib/editor/tiny/amd/build/editor.min.js
vendored
2
lib/editor/tiny/amd/build/editor.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user