Skip to content

Keyboard shortcuts support #71

@jasmussen

Description

@jasmussen

For accessibility and power-users both, we should always think about keyboard support. This was first brought up in #61, but deserves being fleshed out more.

The editor already has keyboard support for most formatting controls, including the "Paragraph" type switcher, which we are pondering moving to the side. Though since this will likely expand a fair bit beyond paragraphs, headings and preformatted, maybe that needs love too.

Many of these are existing keyboard shortcuts that should probably stay intact for back compat.

Inline formatting:

Hidden (?) controls:

Markdown-esque shortcuts/syntactic sugar:

  • Code: wrap text in backticks, `
  • Bullets: * or - on newline
  • Ordered list: 1. or 1) on newline
  • Blockquote: > on newline
  • H2-H6: ## - ###### on newline
  • Horizontal line: --- on newline

Insertion/block level controls:

Inserter:

  • Invoked where the cursor is, by typing / on newline or pressing ^⌥M, then / and Enter for select

Metadata

Metadata

Assignees

Labels

[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Type] EnhancementA suggestion for improvement.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions