Description
The first element inside the content of this block will keep its top margin if it has one. For example, headings or paragraphs have a top margin inherited from the browser styles.
I expect the inner content of this block to be spaced like other blocks.
I suggest to add the following classes to the text content part is-layout-flow and wp-block-media-text__content-is-layout-flow.
Step-by-step reproduction instructions
- Add a Media Text block
- Add some content
- See that the first item keeps it top margin (heading, paragraph)
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
The first element inside the content of this block will keep its top margin if it has one. For example, headings or paragraphs have a top margin inherited from the browser styles.
I expect the inner content of this block to be spaced like other blocks.
I suggest to add the following classes to the text content part
is-layout-flowandwp-block-media-text__content-is-layout-flow.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.