Skip to content

Backspace at start should transform block to paragraph first #16435

Open

Description

@ellatrix

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)

Activity

  1. draganescu commented on Apr 23, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] ListAffects the List Block[Block] QuoteAffects the Quote Block[Feature] Writing FlowBlock selection, navigation, splitting, merging, deletion...[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions