sanity-blocks-vue-component
sanity-blocks-vue-component copied to clipboard
Block list items render marks only as span
As of version 1.0.1, all marks inside blocks defined as list items (bullet or numbered):
{
"_type": "block",
"children": [...],
"level": 1,
"listItem": "bullet",
"style": "normal"
"markDefs": [
{
"_type": "link",
"href": "https://test.com"
}
]
}
will be ignored and rendered as <span> rather than <a>. Custom marks passed in the serializers prop will also be ignored.
Just hit the same issue.
Not sure if this repo is still actively developed though
Anyone who found a solution on this?
I get the same issue and cannot resolve it