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

Block Style names truncate too aggressively #42707

Closed
MadtownLems opened this issue Jul 26, 2022 · 1 comment
Closed

Block Style names truncate too aggressively #42707

MadtownLems opened this issue Jul 26, 2022 · 1 comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@MadtownLems
Copy link

Description

When a Block style name is too long for the button, it is truncated and given a "..." at the end. However, it truncates too aggressively, replacing a single character with "..."

Step-by-step reproduction instructions

  1. Register a block style with the name "Subtle Border"
  2. Insert the block and view the Style selection panel
  3. See that "Subtle Border" has been truncated to "Subtle Borde...", which is less readable and actually longer.

Screenshots, screen recording, code snippet

2022-07-26 10_51_02-Edit Page “Block Showcase” ‹ Front End Wayfinder — WordPress

Environment info

WordPress 6.0.1, no Gutenberg plugin

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

@mrwweb
Copy link

mrwweb commented Jul 26, 2022

Duplicate of #40331

@talldan talldan closed this as not planned Won't fix, can't repro, duplicate, stale Jul 27, 2022
@talldan talldan added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

3 participants