-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Renaming UI doesn't work for some blocks #57954
Copy link
Copy link
Closed
Labels
[Block] ImageAffects the Image BlockAffects the Image Block[Block] MoreAffects the More Block - used for displaying the 'Read More' linkAffects the More Block - used for displaying the 'Read More' link[Block] SubmenuAffects the Submenu Block - for submenus in navigationAffects the Submenu Block - for submenus in navigation[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Metadata
Metadata
Assignees
Labels
[Block] ImageAffects the Image BlockAffects the Image Block[Block] MoreAffects the More Block - used for displaying the 'Read More' linkAffects the More Block - used for displaying the 'Read More' link[Block] SubmenuAffects the Submenu Block - for submenus in navigationAffects the Submenu Block - for submenus in navigation[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Type
Fields
Give feedbackNo fields configured for issues without a type.
What problem does this address?
Renaming UI is now available for almost all blocks. However, in some blocks where
__experimentalLabelis opted in, I found that the label entered in this UI is not reflected in the list view.For example, a paragraph block returns a custom label if the context is
list-view.gutenberg/packages/block-library/src/paragraph/index.js
Lines 33 to 35 in 8b5bc0e
On the other hand, in the Image block, there is no process to return a custom label in the case of
list-viewcontext.What is your proposed solution?
We need to resolve this issue in blocks that have opted in to
__experimentalLabeland wheresupports.renamingis notfalseinblock.json.As far as I've researched, the problem needs to be resolved in the following blocks:
On the other hand, we shouldn't need to do anything with the following blocks.