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

Give content creator orientation help #50780

Open
bph opened this issue May 19, 2023 · 4 comments
Open

Give content creator orientation help #50780

bph opened this issue May 19, 2023 · 4 comments
Labels
[Block] Details Affects the Details Block - used to display content which can be shown/hidden [Type] Enhancement A suggestion for improvement.

Comments

@bph
Copy link
Contributor

bph commented May 19, 2023

Description

When I was working with the Details section of the block, there were no indicators if I was still adding content to the details block or already writing outside the details block.

I expected to leave the Details block when hitting Enter twice similar to the behavior of the List View, but it only added additional empty lines to the details section.

Only the select mode gives the blue line to determine where the Summary + Details block ends. However, those lines disappear as soon as one clicks to edit the block again.

To give visual clues to the readers, the content creator only has limited formatting options, like a background for the whole block but not separately for the details section.

Step-by-step reproduction instructions

It's hard to come up with exact steps to reproduce, maybe the video helps.

Screenshots, screen recording, code snippet

More-visual-help-for-content-creators.mp4

Environment info

WordPress 6.2.1
Gutenberg 15.8
Chrome Version 113.0.5672.92
MacOS Venture 13.3.1

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 the [Block] Details Affects the Details Block - used to display content which can be shown/hidden label May 19, 2023
@carolinan
Copy link
Contributor

Agree. This was one of the reasons I personally preferred the separate details content block; it was a clearer separation to me.
It might help to have the list view open, but that is not always the case.

@hanneslsm
Copy link

One could argue, that the first icon in the toolbar is the visual indication (parent block selector).
Personally, I am disagreeing (as stated here #50021 (comment)), so maybe it makes sense to consider a solution that would not only work for the Details Block.

image

@talldan
Copy link
Contributor

talldan commented May 23, 2023

Personally, I am disagreeing (as stated here #50021 (comment)), so maybe it makes sense to consider a solution that would not only work for the Details Block.

👍 I also have the same issue in the group block.

@priethor priethor added the [Type] Enhancement A suggestion for improvement. label May 23, 2023
@richtabor
Copy link
Member

The same could be said of the Quote block, or any block with nested capabilities.

There's not a pattern of changing the visual of a block, other than hover indicators. I don't think a one-off solution for the details block would resolve the issue. Once you leave the block, it doe close back up (with default behavior). That's one indicator (which maps to the front-end as well).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Details Affects the Details Block - used to display content which can be shown/hidden [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

6 participants