How to Create Grid or Table Components for Portable Text

6 replies
Last updated: Sep 8, 2021
Anyone done grid-/table- like components for Portable Text?
Sep 4, 2021, 7:57 PM
There is a plugin for table data. see if you can implement that inside portable text
Sep 5, 2021, 3:44 AM
or just use the markdown plugin
Sep 5, 2021, 3:44 AM
user M
Do I have to create my own serializer for the type 'table'? Looks like SanityHtmlBuilder fails to do so.
Sep 8, 2021, 9:18 AM
user M
Do I have to create my own serializer for the type 'table'? Looks like SanityHtmlBuilder fails to do so.
Sep 8, 2021, 9:18 AM
Yep! You would need to create a custom serializer for it.
Sep 8, 2021, 4:16 PM

Sanity.io – build remarkable experiences at scale

Sanity is a customizable solution that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Categorized in