Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DiffEditor Issue #200

Open
developer-celusion opened this issue Oct 24, 2021 · 0 comments
Open

DiffEditor Issue #200

developer-celusion opened this issue Oct 24, 2021 · 0 comments

Comments

@developer-celusion
Copy link

developer-celusion commented Oct 24, 2021

I am facing issue when i use diffEditor with below issue.

app.js?id=54d2f2245e73c93ae703:2 TypeError: Cannot read properties of undefined (reading 'onDidChangeModelContent')
    at Proxy.initMonaco (app.js?id=54d2f2245e73c93ae703:2)
    at Proxy.mounted (app.js?id=54d2f2245e73c93ae703:2)

Below is the code snippet of Vue

<MonacoEditor 
        :value="content" 
        :language="language" 
        :options="options"
        :theme="theme"
        :diffEditor="diffEditor"
        :original="originalContent"
        @editorDidMount="editorDidMount"
        @change="editorChange"
    />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant