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

jumping cursor with vue-monaco-editor #61

Open
ntippman opened this issue Aug 26, 2024 · 1 comment
Open

jumping cursor with vue-monaco-editor #61

ntippman opened this issue Aug 26, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@ntippman
Copy link

ntippman commented Aug 26, 2024

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 [email protected]. When switching to [email protected] the plugin works as expected.

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

@Pranomvignesh
Copy link
Owner

Hi @ntippman
Thank you for the reproducible example and this info The [vue-monaco-editor](https://github.com/imguolao/monaco-vue) uses [email protected]. When switching to [email protected] the plugin works as expected.

I will debug this issue and let you know as soon as possible.

@Pranomvignesh Pranomvignesh added bug Something isn't working good first issue Good for newcomers labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants