-
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
Post Title Block: Custom margin applied to Headings does is not reflected in the front-end #35522
Comments
I learnt that this is true not only for the post title but also paragraphs, navigation. |
I believe this would require a larger rollout of I'm just trying to provide a bit further context. Related Pull Requests and Issues |
@colorful-tones is right. The margin attributes won't be saved if the block doesn't support "spacing." |
@mtias do you know of a reason we don't just enable spacing globally (for block themes at least)? |
@kjellr I just dropped a request for update on parent Issue: Consistent dimension controls across blocks. #28356. Trying to keep the boulder moving. 😄 👍 |
Thanks, @colorful-tones! |
@kjellr I've got a PR opened to try and get margin spacing support in for Post Title block: Post Title block - add spacing.margin support #35684 |
This is happening with padding too, when applied to the markup of the template, it only shows up with padding in the editor, not the frontend. |
If a custom margin values are manually added to the Post Title block via block markup, they're reflected in the editor, but are not present in the front-end.
Sample markup
Or, here's a block pattern that uses this markup:
Screenshots
The text was updated successfully, but these errors were encountered: