sanity-blocks-vue-component
sanity-blocks-vue-component copied to clipboard
<em> Not rendering in SanityContent
Hello there,<em>
marks are not rendering in SanityContent. Is this intentional? In src/sanity-module.ts
there is code that sets it as default.. but on the front end you have to explicitly set em
in the marks object. strong
is working as intended..
Current work around is:
data() {
return {
serializers: {
types: ...,
marks: {
em: 'em',
},
},
}
},
Am I doing something wrong?
@dylan are you defining the block
type in your serializer?
For me, marks disappeared when I was defining the block
type.