Skip to content

[HelpHub] Block Editor page missing information on character shortcuts for wrapping selection #1996

Open

Description

@andreawetzel

The WordPress Block Editor Page does not have documentation about Rich text character shortcuts for wrapping selection - such as quotation marks.

Issue Description

A site editor reported that they were surprised when they selected text and entered a quotation mark that the text was surrounded by quotes (they were anticipating that the text would be replaced by the quote).

I can see that this behavior was implemented in 2022 with this PR: Rich text: add character shortcuts for wrapping selection #42469

I couldn't find any current editor facing documentation about how this feature works or which characters can be used to wrap text with this shortcut. There is only information about how adding backticks turn the surrounded text into an inline code format.

Here is a screen capture to demonstrate this feature:

Kapture.2025-07-07.at.08.53.36.mp4

URL of the Page with the Issue

https://wordpress.org/documentation/article/wordpress-block-editor/

Section of Page with the issue

How to work in the WordPress block editor
https://wordpress.org/documentation/article/wordpress-block-editor/#how-to-work-in-the-wordpress-block-editor

Why is this a problem?

It's a hidden feature and may be unexpected for some users

Suggested Fix

Add documentation about which characters can be used in rich text selection character wrapping (Single quote, double quote, and any others)

Activity

  1. github-actions commented on Jul 7, 2025

    @github-actions

    Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.

  2. changed the title [-]Block Editor page missing information on character shortcuts for wrapping selection[/-] [+][HelpHub] Block Editor page missing information on character shortcuts for wrapping selection[/+] on Jul 10, 2025
  3. Anuj-Rathore24 commented on Aug 11, 2025

    @Anuj-Rathore24

    In a paragraph (RichText block) in the WordPress editor, the only character shortcuts that wrap selected text—rather than replacing it—are:

    • A quotation mark (")
    • A single quote (')
    • A backtick (`)

    These were introduced in Gutenberg version 13.9 under the "Rich text: add character shortcuts for wrapping selection" feature. While there was ambition to support other characters like parentheses or brackets, those were intentionally omitted due to potential conflicts with typing behaviors WP Tavern.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions