Open simonhrogers opened 1 year ago
Any updates on this? I'm experiencing the same issue. I want to pass a custom component to render h2
tags but it does not work. I also saw on the documentation that all props are passed too the serializer component but all I get is undefined.
With version
0.1.0
, I’m finding that styles are only applied to a set of styles that use predefined HTML tags e.g.blockquote
,h1
,h2
, etc.When I try to create my own styles, these are ignored.
Mark serialization and custom annotations have always worked perfectly so I’m not sure where I am going wrong.
Any insight would be greatly appreciated!
Thanks so much,
Simon
PortableText.vue:
PortableTextCenter.vue: