Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBackspace in an empty block should remove block type #852
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


If you're in a list block, or a block with a specified alignment (left/center/right), hitting backspace when there's no other text present should remove the list/reset the alignment back to the default.
This is the behavior with lists in vanilla Draft.js as well as Word, and I think it's accurate to describe this as the expected behavior in a rich text editor.
Here's what it looks like in Draft:
