Running into this while trying to convert an H1 into a component (I’ve applied display: block
via the H1’s style
attribute). Any ideas?
I believe an H1 is already a block element.
What input are you passing in the style exactly?
But from a syntax perspective I guess it should be
"display: block"
I believe plasmic elements default to display: flex. I had to apply display: block explicitly to get the layout I wanted
And adding the style
attribute in plasmic requires that you specify the styles in a JSON object (it’ll error if you don’t)
This is a bug
should be fixed now
Thanks! Managed to work around it for the time being