Closed josdejong closed 4 months ago
Since @codemirror/view@6.28.0, setting EditorState.readOnly.of(true) does not work anymore on Chrome. The latest working version is 6.27.0.
@codemirror/view@6.28.0
EditorState.readOnly.of(true)
6.27.0
This maybe a similar to #1393.
Chrome
https://stackblitz.com/edit/vitejs-vite-ymmekk?file=main.js&terminal=dev
Thanks for spotting that. Attached patch should help.
Thanks! Marijn. I can confirm the issue is fixed now.
Describe the issue
Since
@codemirror/view@6.28.0
, settingEditorState.readOnly.of(true)
does not work anymore on Chrome. The latest working version is6.27.0
.This maybe a similar to #1393.
Browser and platform
Chrome
Reproduction link
https://stackblitz.com/edit/vitejs-vite-ymmekk?file=main.js&terminal=dev