Skip to content

Delete block shortcut: update to be more intuitive and farther from "undo" #68139

@jasmussen

Description

@jasmussen

When you select an image, you can press Delete or Backspace to delete it. This is intuitive enough.

When you select a paragraph, those keys delete characters, as you would in any text editor. But if you want to delete the entire paragraph, the current default shortcut is ControlOptionZ on Mac, or ControlAltZ on Windows.

This shortcut is both far from the backspace/delete keys that usually are related to removing, it's also very close to the undo command, CommandZ. It may be confusing to have a destructive action share the same keycode as undo.

Beyond allowing users to customize keyboard shortcuts, which would be highly valuable regardless (#3218), is there a keyboard shortcut that is more intuitive (closer to Backspace and Delete keys), farther from undo, and doet not conflict with other assigned shortcuts?

Can that shortcut be:

  • Mac: Command + Shift + Delete
  • Windows: Control + Shift + Delete

Conceptually the two modifier keys help indicate: this is a forceful action, and the dual nature of backspace and delete both working for this action would match the behavior for non-text blocks.

Related: #51356

Metadata

Metadata

Assignees

Labels

[Feature] Writing FlowBlock selection, navigation, splitting, merging, deletion...[Status] In ProgressTracking issues with work in progress

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions