Skip to content
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

Backspace at start should transform block to paragraph first #16435

Open
ellatrix opened this issue Jul 5, 2019 · 1 comment
Open

Backspace at start should transform block to paragraph first #16435

ellatrix opened this issue Jul 5, 2019 · 1 comment
Labels
[Block] List Affects the List Block [Block] Quote Affects the Quote Block [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Enhancement A suggestion for improvement.

Comments

@ellatrix
Copy link
Member

ellatrix commented Jul 5, 2019

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)
@ellatrix ellatrix added the [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... label Jul 5, 2019
@draganescu
Copy link
Contributor

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 ...

@mtias mtias added [Block] List Affects the List Block [Block] Quote Affects the Quote Block labels Jul 27, 2022
@jordesign jordesign added the [Type] Enhancement A suggestion for improvement. label Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] List Affects the List Block [Block] Quote Affects the Quote Block [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants