model.canUndo is not a function
sabolch opened this issue · comments
Sabolch Varha commented
小弟调调 commented
@varghasabee Can you give me example debugging?
Sabolch Varha commented
Yes, of course
https://github.com/VarghaSabee/canUndoError.git
and on codesandbox
https://codesandbox.io/s/canundoerror-bsc4q
小弟调调 commented
@varghasabee I found that the dependency package may be too old and cause an error.
The following example can be run:
https://github.com/demo-js/react-monacoeditor-example
Sabolch Varha commented
I'll try it out. Thank you!