strapi / blocks-react-renderer

A React renderer for the Strapi's Blocks rich text editor
Other
162 stars 25 forks source link

[bug]: unable to parse list items with links #45

Open Arunjenson opened 3 months ago

Arunjenson commented 3 months ago

What version of @strapi/blocks-react-renderer are you using?

npm - 10.2.4 node-js - 18.19.1 strapi block renderer - 1.0.1

What's Wrong?

whenever we add a ordered or unordered list where whole item is a link ,whole item is getting removed when we press enter

https://github.com/user-attachments/assets/23d706b2-9e16-4cbf-ac6b-941aca87077d

To Reproduce

to reproduce you can write a content in list item followed it should be wrapped with any link and go for next list item

Expected Behaviour

is to have ol/ul where list items are having links

  1. hello
  2. hello