You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
list and listItem to be rendered as custom component.
What is actually happening?
Rendered HTML is done as expected for marks, styles, types and blocks but neither for list nor listItem. It seems like they are not implemented. Moving to @portabletext/vue instead of SanityContent, these serializers works as expected for all components.
Steps to reproduce
Just use SanityContent with specific serializers for list and listItem and it will be easily reproduced
Additional information
Checklist
I have tested with the latest Nuxt version and the issue still occurs
I have tested with the latest module version and the issue still occurs
I have searched the issue tracker and this issue hasn't been reported yet
The text was updated successfully, but these errors were encountered:
Version
module: latest
nuxt: ^3.0.0
Nuxt configuration
Not relevant
Reproduction
Using the
SanityContent
component and passing some custom serializers as follows:What is expected?
list
andlistItem
to be rendered as custom component.What is actually happening?
Rendered HTML is done as expected for
marks
,styles
,types
andblocks
but neither forlist
norlistItem
. It seems like they are not implemented. Moving to@portabletext/vue
instead ofSanityContent
, these serializers works as expected for all components.Steps to reproduce
Just use
SanityContent
with specific serializers forlist
andlistItem
and it will be easily reproducedAdditional information
Checklist
The text was updated successfully, but these errors were encountered: