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
Backspace at start should transform block to paragraph first #16435
Pressing Backspace at the start of some blocks causes the block to merge with the previous block.
I've seen cases in the past where using Backspace and Enter to gradually delete or create content improves the user experience. E.g. Backspace at the start of an indented list item first outdents the list item instead of merging it abruptly with the previous list item.
This pattern can be applied to other blocks as well with merge behaviour.
Quote → Paragraph → then merge
Heading → Paragraph → then merge (with previous heading or paragraph)
List → Paragraphs → then merge (this is already the case but it happens in one go)
I think this would require some "promote/demote" rules for each block and if implemented should work predictably for all blocks.
To note, I've tested this in Pages and Google Docs and neither transform lists or headings to paragraphs before merging. Google Docs keeps a weird indent for a list item though ...
Activity
draganescu commentedon Apr 23, 2020
I think this would require some "promote/demote" rules for each block and if implemented should work predictably for all blocks.
To note, I've tested this in Pages and Google Docs and neither transform lists or headings to paragraphs before merging. Google Docs keeps a weird indent for a list item though ...