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

Enable formatting text highlighted over two paragraphs #40907

Closed
bph opened this issue May 7, 2022 · 1 comment
Closed

Enable formatting text highlighted over two paragraphs #40907

bph opened this issue May 7, 2022 · 1 comment
Labels
[Block] Paragraph Affects the Paragraph Block [Feature] Block Multi Selection The ability to select and manipulate multiple blocks [Type] Enhancement A suggestion for improvement.

Comments

@bph
Copy link
Contributor

bph commented May 7, 2022

Description

It seems that the multi-select of text doesn't work for formatting, as the formatting toolbar is switched out for the group toolbar.

For instance, if I select a text inside one paragraph, I can use bold, italic. I can't do that when selecting text over two paragraphs.

It works with keyboard short cut cmd + b and cmd+i, though. 👏

If I would like to also change the color for selected text. The tool is not available when highlighting text over two paragraphs.

I found #40063 but it only suggest hiding the tool bar not enable more text formatting.

Step-by-step reproduction instructions

  1. Create two paragraphs. I use business lorem impsum
  2. Highlight text words from end of the last row in one paragraph and words from the first row of the next paragraph.
  3. try to change the color to a different color.

Screenshots, screen recording, code snippet

I created a video with all the steps. I tried also if the text color tools on the right would work. I was only able to change the colore for a whole paragraph (as expected)

edit-text-multiple-paragraph.mp4

Environment info

WordPress 6.0 RC 1
no Gutenberg plugin
Chrome Version 100.0.4896.127

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@bph bph added [Feature] Block Multi Selection The ability to select and manipulate multiple blocks [Block] Paragraph Affects the Paragraph Block [Type] Enhancement A suggestion for improvement. labels May 7, 2022
@bph bph changed the title Formatting text via multi-select over two paragraphs Enable formatting text highlighted over two paragraphs May 7, 2022
@ellatrix
Copy link
Member

This is a duplicate of #27221.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Paragraph Affects the Paragraph Block [Feature] Block Multi Selection The ability to select and manipulate multiple blocks [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants