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
{{ message }}
Repository navigation
Bug: select all + delete should remove all blocks #3682
When doing select all (e.g. ctrl + A or cmd + A on Mac - I think), and then pressing delete or backspace, my expectation would be that all of the content is completely erased, including any blocks, and instead you'd get the same thing you'd get when loading an editor instance without initial state: an empty paragraph block.
Instead, what happens is that everything is removed, but the remaining block is what the first block already was, except empty. For example, if the first block was a list item, it will remain after following this process, but empty.
Lexical version: 0.7.5
Steps To Reproduce
Put some stuff on the editor. Make sure the first block is not a paragraph block.
Activity