Closed Bug 1318827 Opened 8 years ago Closed 5 years ago

CKEditor config: Enable spell check by default

Categories

(developer.mozilla.org Graveyard :: Editing, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: sheppy, Unassigned)

References

Details

(Keywords: in-triage)

This is as simple as adding this line to the ckeditor_config.js file:

config.scayt_autoStartup = true;
Blocks: 1032827
As part of this, we should also look at turning on multi-language support for the spell checker:

config.scayt_multiLanguageMode = true;
Severity: normal → minor
Keywords: in-triage
Depends on: 1321154
I have submitted https://github.com/mozilla/kuma/pull/4067 for this.
Commit pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/d79e02633563268d1d90aed0086acfb5d4bd0070
bug 1318827 - Disable auto-load of spell checker

We need to look more closely at the licensing situation.
The short version:

Spellcheck is provided by a SCAYT plugin, which is well-integrated with CKEditor.  The CKEditor license allows for free usage, but displays ads to users.

The security concern is the execution of SCAYT code and advertisements inside the MDN context.  We can avoid this by paying a license that removes the ads:

https://www.webspellchecker.net/signup/licensed-signup.html#wsc-trial

We could replace the plugin with browser-native spellcheck. However, this collides with the CKEditor context menu plugin, so we'd have to make hard UX decisions.  Two clear options are:

- Right-click gets the CKEditor context menu, Control + Right-click gets the browser spell check menu
- Remove the CKEditor context menu, Right-click to get the browser spell check

A technical option may also be possible, implementing our own spellcheck and CKEditor plugin. This will be more expensive than the SCAYT license, and we don't have the resources to prioritize this with current development staff.

I'll start a document with the longer version, and a mailing list discussion for team and community feedback.
See Also: → 1031910
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.