Open talldan opened 1 month ago
For blocks like "list" and "quote", their "inner blocks area" should be marked as "content" somehow it seems. But how far do we take this: is "cover" block's inner blocks also "content"? I guess not but the line is very blurry, in some situations I would love to be able to add paragraphs within "already designed cover blocks" for instance.
For blocks like "list" and "quote", their "inner blocks area" should be marked as "content" somehow it seems. But how far do we take this: is "cover" block's inner blocks also "content"? I guess not but the line is very blurry, in some situations I would love to be able to add paragraphs within "already designed cover blocks" for instance.
Yep, it does feel a bit blurry. Also whether only paragraphs can be added to Quote/Cover or other types of content blocks too.
Heading and List might be other basic text blocks that are candidates. Then List is itself a container, so this is where the flat content structure in contentOnly mode starts to become more challenging to represent.
For blocks like "list" and "quote", their "inner blocks area" should be marked as "content" somehow it seems. But how far do we take this: is "cover" block's inner blocks also "content"?
The most straightforward move is to solve for repeatable inner blocks, like Button within Buttons block, and List Item within the List block first. Where if you press enter, another of the same block is inserted.
File block was an easy one to fix so I've made a PR - https://github.com/WordPress/gutenberg/pull/65787.
I've also been experimenting with the List block with mixed results. I'll try to get a PR up soon.
For blocks like "list" and "quote", their "inner blocks area" should be marked as "content" somehow it seems.
I just tested Write/Design mode with a few themes and want to underscore the following as we need these:
Blocks I think should be on the list:
Social Icons: it's odd that you can't edit these, especially if you think about a link in bio site
https://github.com/user-attachments/assets/0d4b957a-00fa-46bf-9606-b2dbef274db4
Query Loop block: strange experience where you can edit the "no results" text but nothing else. I think we should expand what's available in block settings in line with what's described here so there's a more visual and clearer action to take: https://github.com/WordPress/gutenberg/issues/63497
https://github.com/user-attachments/assets/e55b8961-64ce-4f7c-a146-669f59bdebf9
Just did user testing with a friend and want to underscore featured image block too. They couldn't select it and, as a result, didn't know what it was or where it would show up! Here's a quick video demoing how awkward this is, audio included:
https://github.com/user-attachments/assets/18d76431-f342-4be1-ad6f-ef557552884e
Finally, they also ran into issues with the site tagline where it says "write your site tagline" prompt yet they can't select it. Pretty confusing!
Description
contentOnly
mode is becoming more prevalent in the editor after 'Select Mode: Use the content-only behavior in select mode' was merged.Lots of block types still aren't working perfectly in
contentOnly
mode, so this list intends to capture those issues so that they can be worked on in parallel by multiple devs. Lots of the blocks also share similar issues, so hopefully there are higher-level solutions to the problems that can be found (lets discuss these in the comments).Feel free to add more to this issue if you discover untracked issues.
Blocks
Buttons
Cover
contentOnly
mode (possibly the same issue as above).Details
File
PR: https://github.com/WordPress/gutenberg/pull/65787
Gallery
List
PR: https://github.com/WordPress/gutenberg/pull/65836
Media / Text
More
Navigation
Post Title / Featured Image / Excerpt
role: content
declaration)Quote
contentOnly
templateLock to the group, and select the group.)Site Logo / Site Title / Site Tagline
role: content
declaration)Social Link
Table
contentOnly
mode, including the initial placeholder