monaco-react icon indicating copy to clipboard operation
monaco-react copied to clipboard

TypeError: monacoRef.current.editor.onDidChangeMarkers is not a function

Open hengshanMWC opened this issue 1 year ago • 0 comments

Describe the bug TypeError: monacoRef.current.editor.onDidChangeMarkers is not a function image

To Reproduce The problem has occurred sporadically, and the cause has not been determined yet. In the future, I will try to reproduce and supplement the reproduction process image I don't know if it's a timing issue? https://github.com/suren-atoyan/monaco-react/blob/master/src/Editor/Editor.tsx#L216

Expected behavior I hope this issue does not occur and can run normally

Desktop (please complete the following information):

  • OS: ProductName: macOS ProductVersion: 12.1 BuildVersion: 21C52
  • Browser [[email protected](正式版本) (arm64)]
  • Version [4.4.6]

hengshanMWC avatar Jun 07 '23 03:06 hengshanMWC