Skip to content

fix(editor): enforce spellcheck toggle on CodeMirror contenteditable#1618

Open
nicepopo86-lang wants to merge 1 commit intoBoostIO:masterfrom
nicepopo86-lang:fix/spellcheck-contenteditable-695
Open

fix(editor): enforce spellcheck toggle on CodeMirror contenteditable#1618
nicepopo86-lang wants to merge 1 commit intoBoostIO:masterfrom
nicepopo86-lang:fix/spellcheck-contenteditable-695

Conversation

@nicepopo86-lang
Copy link

@nicepopo86-lang nicepopo86-lang commented Feb 16, 2026

Summary

This fixes editor spellcheck toggle behavior for the CodeMirror contenteditable input.

What changed

  • Ensure spellcheck is applied directly to CodeMirror's input field (getInputField()).
  • Apply autocorrect and autocapitalize attributes consistently with the toggle state.
  • Re-apply attributes both on editor mount and whenever config updates.

Why

The settings toggle (general.enableSpellcheck) existed, but browser spellcheck behavior could still fail to reflect runtime state in contenteditable mode.

Scope

  • No API changes
  • No schema changes
  • Frontend editor behavior only

Related issue: #695

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


nicepopo86-lang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants