Skip to content

jumping cursor with vue-monaco-editor #61

@ntippman

Description

@ntippman

This issue is related to #47. When trying to edit a restricted area, the first character is applied and then the cursor jumps to the beginning of the document.

jumping_cursor

Please see this stackblitz for more details.

As you mentioned in #47, you are merely using applyEdits and not changing the cursor position yourself. I am not sure on how to apply your suggestion to test applyEdits to verify if this is a monaco issue.

The vue-monaco-editor uses monaco-editor@0.43.0. When switching to monaco-editor@0.33.0 the plugin works as expected.

Could you please take a look if there is an issue with the plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions