Skip to content

BlockCanvas doesn't respect the height property anymore. #65976

@youknowriad

Description

@youknowriad

Description

When building third-party block editors, you can set the height of the block canvas using the height prop in theory. (See https://wordpress.org/gutenberg-framework/docs/intro)

That said, this doesn't seem to work anymore

There are also other related issues:

  • Now there's a border for the iframe of the block canvas
  • The width of the block canvas is not 100%

Step-by-step reproduction instructions

Create a custom a block editor using the instructions in https://wordpress.org/gutenberg-framework/docs/intro and notice the height is not respected.

Alternatively, you can just use the "box" playground in the Storybook and change the "height" prop and see that it doesn't change anything.

Screenshots, screen recording, code snippet

No response

Environment info

No response

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

FrameworkIssues related to broader framework topics, especially as it relates to javascript[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions