Open habahabahaba opened 1 month ago
I just played with your example on codesandbox.io and, after updating @babel/parser to 7.24.6 jsx, commenting stops working.
Same with: "@babel/parser": "7.24.7", "@babel/traverse": "7.24.7", "@monaco-editor/react": "4.6.0",
With monaco-editor (0.48.0),
@monaco-editor/react (4.6.0), @babel/parser (7.24.6), @babel/traverse (7.24.6),
addJSXCommentCommand doesn't seem to work: pressing " cmd / ctl " + "/ " on the line with the jsx-component or element, still results in "// " being added at the start of the line.