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

List: Can't italicize across multiple list items #53197

Closed
danielbachhuber opened this issue Jul 31, 2023 · 6 comments
Closed

List: Can't italicize across multiple list items #53197

danielbachhuber opened this issue Jul 31, 2023 · 6 comments
Labels
[Block] List Affects the List Block [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Enhancement A suggestion for improvement.

Comments

@danielbachhuber
Copy link
Member

In Google Docs, I can italicize across multiple list items:

CleanShot 2023-07-31 at 13 35 02

It would be nice if I could do this in the Block Editor too.

@jordesign jordesign added [Type] Enhancement A suggestion for improvement. [Block] List Affects the List Block labels Aug 1, 2023
@annezazu annezazu changed the title Can't italize across multiple list items List v2: Can't italicize across multiple list items Aug 3, 2023
@mtias
Copy link
Member

mtias commented Aug 4, 2023

There a few challenging implications here. For example, on the web italics carry semantic meaning with em. It's not clear if the user intention is to add such meaning or if it's a stylistic choice (like changing font-style across all these items).

We can probably support some multi-line formats, but not as wildcards. For example, adding a link across multiple lines would create multiple links, and it's not evident that you haven't created a single link around the whole set—which means it's not clear if editing one link would edit all links, etc.

So if we support multi-line inline formatting we probably need to make it opt in when registering a format.

@mtias mtias changed the title List v2: Can't italicize across multiple list items List: Can't italicize across multiple list items Aug 4, 2023
@mtias mtias added the [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... label Aug 4, 2023
@ellatrix
Copy link
Member

ellatrix commented Aug 15, 2023

This is a duplicate of #20568. Let's close in favour of that. Edit: misread alt for ctrl.

It has been an issue since the start. With partial selection, we could attempt it, but only for blocks that are simple and mergeable. For full selection, I don't think we should be going through all rich text areas and format all of them?

@ellatrix ellatrix reopened this Aug 15, 2023
@ellatrix
Copy link
Member

I guess it is a duplicate of #27221 though :)

@ellatrix
Copy link
Member

Also found #40907. Let's close these in favour of the oldest ticket.

@annezazu annezazu moved this to Needs Dev / Todo in WordPress 6.4 Editor Tasks Aug 30, 2023
@annezazu annezazu moved this from Needs Dev / Todo to Done in WordPress 6.4 Editor Tasks Sep 1, 2023
@colorful-tones
Copy link
Member

colorful-tones commented Sep 28, 2023

@annezazu @ellatrix I'm not clear as to whether this was addressed. It has been marked Done though on the project board. Am I missing something? 🤔

@colorful-tones
Copy link
Member

Ok, I see that #27221 is the favorable task to address this in. Closing this back out. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] List Affects the List Block [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Enhancement A suggestion for improvement.
Projects
No open projects
Status: Done
Development

No branches or pull requests

5 participants