You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduce: go to https://codemirror.net/demo/vim.html and delete all content
Expectation: the fat caret is still shown at the first character position
Actual: no caret is shown
Note:
If inputStyle is "textarea" instead then the caret is shown even if content is empty
When inputStyle is "contenteditable", the vim keymap displays the normal mode cursor (fat cursor) by using doc.markText to mark the current character. An empty line does not have any character, so the mark does not show up.
Reproduce: go to https://codemirror.net/demo/vim.html and delete all content
Expectation: the fat caret is still shown at the first character position
Actual: no caret is shown
Note:
The text was updated successfully, but these errors were encountered: