We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the first line in the editor is a block node (like a heading), there's no way to clear formatting without a toolbar.
# Test
Mod+A
Backspace
No response
The block node (the heading) to be reset to a paragraph if ALL the node text was deleted.
The text was updated successfully, but these errors were encountered:
I created a PR for it. Any feedback? Here is a preview.
Sorry, something went wrong.
@philippkuehn Looks great, thanks for fixing this.
fix: Improve backspace handling (#2284), fix #2281
8ed485b
* improve backspace handling * revert codeblock changes * revert codeblock changes * fix tests Co-authored-by: Philipp Kühn <[email protected]>
This is awesome, thanks much!
Successfully merging a pull request may close this issue.
What’s the bug you are facing?
If the first line in the editor is a block node (like a heading), there's no way to clear formatting without a toolbar.
How can we reproduce the bug on our side?
# Test
to turn the paragraph into a headingMod+A
and delete itBackspace
to delete everythingCan you provide a CodeSandbox?
No response
What did you expect to happen?
The block node (the heading) to be reset to a paragraph if ALL the node text was deleted.
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: