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

Multiple blocks: Keep all text formatting icons #27221

Open
kdevnel opened this issue Nov 24, 2020 · 4 comments · May be fixed by #58913
Open

Multiple blocks: Keep all text formatting icons #27221

kdevnel opened this issue Nov 24, 2020 · 4 comments · May be fixed by #58913
Assignees
Labels
[Feature] Block Multi Selection The ability to select and manipulate multiple blocks [Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Package] Rich text /packages/rich-text [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@kdevnel
Copy link
Contributor

kdevnel commented Nov 24, 2020

Is your feature request related to a problem? Please describe.
Editing large amounts of text can be a challenge at times when it spans across multiple blocks. One example of this is that when you select multiple text blocks or even try to highlight specific text across multiple blocks all options for formatting (bold, italic etc.) disappear except for text alignment.

Screen Capture on 2020-11-24 at 09-23-21

Describe the solution you'd like
It seems odd that you can continue to change text options like alignment but not the text formatting. I understand that you would only make formatting changes to highlighted text and not an entire group of blocks but it seems that when selecting multiple blocks when they contain text could always allow making the text bold.

This is a small feature that would help to remove the feeling that Gutenberg isn't friendly for writers who are primarily focussed on text-based content.

Describe alternatives you've considered
The issue of text selection across multiple blocks might be the underlying difficulty here. Perhaps a solution where text can be highlighted across multiple blocks would allow for a more refined approach though I'm not sure how that might even work.

@ntsekouras ntsekouras added [Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Type] Enhancement A suggestion for improvement. [Package] Rich text /packages/rich-text labels Nov 24, 2020
@ellatrix
Copy link
Member

This will be challenging because technically multiple rich text editors are selected. Not impossible though.

@crgeary
Copy link

crgeary commented Aug 25, 2021

In addition to losing the bold/italic options etc.

The text-alignment options do not show when selecting multiple blocks of different types. Despite both block types supporting text-alignment options.

For example, selecting multiple paragraphs will show the text-alignment option.. But selecting a paragraph and a heading together, will show no text-alignment options. Despite both blocks supporting it.

Screen.Recording.2021-08-25.at.14.27.38.mov

@skorasaurus skorasaurus added the [Feature] Block Multi Selection The ability to select and manipulate multiple blocks label Jun 3, 2022
@bluefuton
Copy link

You're also unable to use the keyboard shortcuts to do this. I often find myself doing Cmd-A to select all blocks, then Cmd-B to remove bold styling from all the blocks. Instead this opens the Bookmarks Toolbar on Firefox, which is pretty jarring. (originally posted on #26519 (comment))

@alexstine
Copy link
Contributor

I am concerned mainly with how we communicate this to screen reader users. For example, should there be built in announcements that say how many blocks just received bold? What if there are selected blocks that are already bolded and some blocks that are not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Block Multi Selection The ability to select and manipulate multiple blocks [Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Package] Rich text /packages/rich-text [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants