Closed siefkenj closed 1 year ago
You are most likely using an ancient version of @lezer/javascript, somehow.
Thanks! I never installed @lezer/javascript
explicitly and somehow had version 1.0
hanging around in my node_modules
. Everything works now :-)
Describe the issue
Using the
html()
plugin from@codemirror/lang-html@6.4.6
causes the following error in my console:The error appears to originate from lezer.
Downgrading to
@codemirror/lang-html@6.4.5
works fine.I am using @uiw/react-codemirror 4.21.18.
Browser and platform
Firefox 118
Reproduction link
No response