-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Editor almost unusable after replacing everything with a horizontal line #1081
Comments
Hey, it’s a horizontal rule (hr), not a line break. but you are right. there are some strange behaviors for block nodes without text content in ProseMirror. tip: you can always create a node selection with cmd+click. you can see an added class to that DOM element. after that you can press backspace to remove that selected node. but that’s not obvious. what would you expect in such a case? |
Chrm. Don't know why I've written "line break". 😂 Hm. Good question. I will think about it and will have a look in other editors. |
What happens?
I selected the editor's content and replaced it with a horizontal rule. The "text-cursor" disappeared, I couldn't write anything and therefore the editor wasn't usable anymore. (CMD-Z helped – and the cursors of other users in collaboration mode...)
How can others reproduce the issue?
The text was updated successfully, but these errors were encountered: