Open dylanmcgowan opened 3 years ago
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..
<em>
src/sanity-module.ts
em
strong
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?
block
For me, marks disappeared when I was defining the block type.
Hello there,
<em>
marks are not rendering in SanityContent. Is this intentional? Insrc/sanity-module.ts
there is code that sets it as default.. but on the front end you have to explicitly setem
in the marks object.strong
is working as intended..Current work around is:
Am I doing something wrong?