scniro / react-codemirror2

Codemirror integrated components for React
MIT License
1.66k stars 193 forks source link

cm is not a funciton #309

Open superhos opened 1 year ago

superhos commented 1 year ago

image image seems cm is a ES Module, It can not be run as a function. image

D-Sketon commented 10 months ago

I use codemirror@5, it works

peitsan commented 6 months ago

I have the same bug alert.