Closed zefhemel closed 3 months ago
Apparently enabling Chrome's new EditContext
feature blocks it from applying these kinds of corrections. Attached patch hooks into the beforeinput
events they fire to actively apply them ourselves.
Awesome, thanks a lot for the quick fix!
Describe the issue
I'm using
spellcheck="true"
on my CodeMirror editor to enable native browser spell checking. Until @codemirror/view 6.28.0 this worked fine, it detected spelling errors and right clicking on a correct spelling would replace it in line. As of 6.28.0 this functionality is broken, however — it simply doesn't change the text anymore.In any version of @codemirror/view beyond 6.28.0 this is the case, so 6.27.0 still works.
Browser and platform
Chrome, testing on macOS
Reproduction link
No response