-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
HTML Block: Match the editor to the front end #27803
Comments
Can consider it a duplicate of #9129? |
I think that PR will help but we also want to add some support for Global Styles |
I mean it's just a case of loading generated styles in the iframe, which is what that issue means to cover |
I mean we want to add |
To the HTML block? That seems weird 😁 |
Well for example if a theme had a dark background it might want to set the background color of the HTML block to match the theme rather than using the default that the editor provides. |
But the HTML block is for using code, not to display a visual presentation of code or the content in the block. I think the block works as intended, if the user wants the content of the HTML block to be styled, they add the style. |
Ok, let's close as a duplicate of #9129 |
Is your feature request related to a problem? Please describe.
The HTML block doesn't look the same in the editor and the frontend.
Describe the solution you'd like
We should update the CSS so that the block looks the same in both places. We should also add some customizations to the blocks:
Describe alternatives you've considered
We could just do this in CSS first
Partly addressed in #9129
The text was updated successfully, but these errors were encountered: