-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Block] HTMLAffects the the HTML BlockAffects the the HTML Block[Feature] Block settings menuThe block settings screenThe block settings screen[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Feature] LayoutLayout block support, its UI controls, and style output.Layout block support, its UI controls, and style output.[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
Description
Description
The UI is displayed in a block that does not support Dimension.
Step-by-step reproduction instructions
- Paste the code below into the block editor.
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Button</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->
<!-- wp:html -->
Custom HTML
<!-- /wp:html --></div>
<!-- /wp:group -->
-
Click on the custom HTML block and the Dimension panel is displayed.
-
The values set in the Dimension panel are not saved and have no effect in the front end.
Screenshots, screen recording, code snippet
dimension.mp4
Environment info
WordPress 6.2.2
Gutenberg 16.0.0
Twenty Twenty-Three 1.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
Metadata
Metadata
Assignees
Labels
[Block] HTMLAffects the the HTML BlockAffects the the HTML Block[Feature] Block settings menuThe block settings screenThe block settings screen[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Feature] LayoutLayout block support, its UI controls, and style output.Layout block support, its UI controls, and style output.[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