Dominik Moritz

Results 1544 comments of Dominik Moritz

Why not? Who keeps a reference?

Thanks for tracking this down! Could you send a PR to fix the issue? It doesn't have to be immediately.

I think you need to run babel over your files. Looks like jest does not like the import syntax.

Thanks for the report. Can you provide a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) that demonstrates the issue?

We only get the model from the editor (see https://github.com/react-monaco-editor/react-monaco-editor/blob/master/src/editor.tsx#L57). So you can probably just swap out the model in the editor without changing the library at all. Can you...

Do you have a suggestion to resolve this issue?

Can you send a pull request to fix this issue?

Like https://github.com/superRaytin/react-monaco-editor/blob/master/src/diff.js?

Ahh, I see. I don't plan to add it as I don't use the diff editor but someone else might.