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

Synced Pattern: Add prefix to synced patterns in the editor breadcrumbs to avoid confusion #29267

Open
paaljoachim opened this issue Feb 23, 2021 · 3 comments
Labels
[Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Type] Enhancement A suggestion for improvement.

Comments

@paaljoachim
Copy link
Contributor

paaljoachim commented Feb 23, 2021

Description

Naming a Reusable block with example Heading can create confusion with the block Heading.

Step-by-step reproduction instructions

Expected behaviour

I assume I would see a prefix: Reusable: Heading or something like that.

Actual behaviour

Breadcrumbs are seen like this when selecting the Heading inside the Reusable block.
Document -> Heading -> Heading

Screenshots or screen recording (optional)

Reusable-block-Prefix-name-with-Reusable.mp4

WordPress information

  • WordPress version: 5.7 beta 3
  • Gutenberg version: 10.0.2
  • Are all plugins except Gutenberg deactivated?
  • Are you using a default theme (e.g. Twenty Twenty-One)? Twenty Twenty One

Tracking issue: #27890

@youknowriad

@paaljoachim paaljoachim added [Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Type] Bug An existing feature does not function as intended [Type] Enhancement A suggestion for improvement. and removed [Type] Bug An existing feature does not function as intended labels Feb 23, 2021
@ranthonysteele
Copy link

The confusion for me stems from standard blocks that can't be configured to my liking, requiring me to create reusable blocks that I can modify. Is there a particular reason that there is a separator block that isn't a reusable block? One that can be edited like HTML, allowing me to create my own variations of separators for different purposes instead of two set sizes that you must take or leave?

@ranthonysteele
Copy link

ranthonysteele commented Apr 23, 2021

The specific issue in question with this bug (for me anyway) is that there is a standard separator block in Gutenberg that overrides the more flexible settings in HTML. I want a separator that looks like this <hr style="width:66%;height:3px" class="aligncenter"> which should an available configuration that you can set as a default inside of the editor itself for the default separator block. Denoting that the reusable separator that the editor forces me to create is the reusable one would also be nice, but is almost beside the point.

@jordesign
Copy link
Contributor

Can confirm that this behaviour is still reproducible in the breadcrumb in 6.4RC2

Screenshot 2023-10-31 at 7 43 27 am

This issue has been long dormant - but I'll rename it to be clearer about it referencing the breadcrumbs (which seems to be the main place I see potential confusion)

@jordesign jordesign changed the title Renamed Reusable block name can cause confusion. Synced Pattern: Add prefix to synced patterns in the editor breadcrumbs to avoid confusion Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants