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
If the cursor is placed after the html block, then it flies out of the block.
I prepared an example, try using backspace to remove the word "move" before the "test" block and you will see how the cursor will be on the right outside the block.
This issues has been around for a really long time. It's a bug in contenteditable when backspacing to a non-contenteditable element. The method in the top rated answer works kind of but I'm having issues with the first non-contenteditable on a line not being deleted.
This is outside of the scope of this library. It's definitely a browser/HTML issue.
If the cursor is placed after the html block, then it flies out of the block.
I prepared an example, try using backspace to remove the word "move" before the "test" block and you will see how the cursor will be on the right outside the block.
https://codesandbox.io/s/strange-nobel-0yf02o?file=/src/index.js
How can this be fixed? I need "class="chip chip--error"" to be immutable
The text was updated successfully, but these errors were encountered: