sanity-blocks-vue-component icon indicating copy to clipboard operation
sanity-blocks-vue-component copied to clipboard

Block list items render marks only as span

Open alejandrovrojas opened this issue 4 years ago • 2 comments

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.

alejandrovrojas avatar Nov 21 '21 18:11 alejandrovrojas

Just hit the same issue.

Not sure if this repo is still actively developed though

spacedawwwg avatar Mar 31 '22 20:03 spacedawwwg

Anyone who found a solution on this?

I get the same issue and cannot resolve it

MadsRued avatar Aug 25 '22 08:08 MadsRued