I have a sanity Block content field that contains:
- General text styling
- Gallery component
- banner component
- video component
I would like to wrap chunks of block text in a different container tag to the other components so that I can apply styling to it that doesn't effect the components. such as max widths, or wrapping in a box or similar.
How can I specify a container tag for specific children of the block serialiser?
I have a sanity Block content field that contains:
I would like to wrap chunks of block text in a different container tag to the other components so that I can apply styling to it that doesn't effect the components. such as max widths, or wrapping in a box or similar.
How can I specify a container tag for specific children of the block serialiser?