-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Display issue with HTML Block inside of a Row Block in the Editor #34909
Labels
[Block] Group
Affects the Group Block
[Block] HTML
Affects the the HTML Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Comments
carolinan
added
[Block] Group
Affects the Group Block
[Block] HTML
Affects the the HTML Block
[Type] Bug
An existing feature does not function as intended
labels
Sep 21, 2021
github-actions
bot
added
the
[Status] In Progress
Tracking issues with work in progress
label
Aug 19, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Block] Group
Affects the Group Block
[Block] HTML
Affects the the HTML Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
I was testing the new Row Block and discovered a small issue in the editor when using an HTML block. The HTML content is contained in an iframe and also seems to be wrapping in a
div
. This iframe anddiv
obviously do not appear on the frontend. In the editor however, they both have a width of 100%. Under normal circumstances, this seems like a logical default. However, when placed in a Row block, things do not align properly.Step-by-step reproduction instructions
Editor (Actual)
Editor (Expected)
Frontend
Some of the offending CSS
Perhaps there is a need for some conditional iframe styling if placed in a Row block? Perhaps
max-width:100%
instead ofwidth:100%
?Screenshots, screen recording, code snippet
No response
Environment info
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
The text was updated successfully, but these errors were encountered: