Skip to content
This repository was archived by the owner on Aug 18, 2023. It is now read-only.

Block list items render marks only as span #29

Open
alejandrovrojas opened this issue Nov 21, 2021 · 2 comments
Open

Block list items render marks only as span #29

alejandrovrojas opened this issue Nov 21, 2021 · 2 comments

Comments

@alejandrovrojas
Copy link

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
Copy link

Just hit the same issue.

Not sure if this repo is still actively developed though

@MadsRued
Copy link

Anyone who found a solution on this?

I get the same issue and cannot resolve it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants