vue-snippets icon indicating copy to clipboard operation
vue-snippets copied to clipboard

Cursor position between an element tag

Open rayasabari opened this issue 2 years ago • 0 comments

Hi, I like this extension for component highlighting in Vue 3, but when I enable this extension, I have a problem when I give a line break between open and close element tag, the cursor position not located in the middle of element tag. Here are the example:

cursor position when I give a line break between a div tag

<div
|</div>

expected cursor position when give a line break

<div>
  |
</div>

I am very grateful if this issue can be fix Thanks

rayasabari avatar Jan 10 '23 10:01 rayasabari