👀 See Sanity in action: Watch product demo now →

Adding Types to a Portable Text Block Array Inline

1 replies
Last updated: May 11, 2022
When adding types to a portable text block array, they always seem to be placed on a new line instead of inline (between text on the same line).But in the docs there’s a picture of a symbol that indicates otherwise. How do I configure this?

See the “Author reference” in the image:
May 11, 2022, 7:08 AM
Found it! Apparently the “block” type accepts an “of”-array for those.
May 11, 2022, 7:37 AM

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.