rdunk / sanity-blocks-vue-component

[DEPRECATED] Vue component for rendering block content from Sanity
MIT License
71 stars 10 forks source link

Block list items render marks only as span #29

Open alejandrovrojas opened 2 years ago

alejandrovrojas commented 2 years ago

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.

spacedawwwg commented 2 years ago

Just hit the same issue.

Not sure if this repo is still actively developed though

MadsRued commented 2 years ago

Anyone who found a solution on this?

I get the same issue and cannot resolve it