Lists (ul and ol) are broken
See original GitHub issueInvariant Violation: convertToHTML: received block information without either a ReactElement or an object with start/end tags
at invariant (/project/node_modules/invariant/invariant.js:42:15)
at getNestedBlockTags (/project/node_modules/draft-convert/lib/util/getNestedBlockTags.js:37:27)
at /project/node_modules/draft-convert/lib/convertToHTML.js:111:64
at Array.map (native)
at /project/node_modules/draft-convert/lib/convertToHTML.js:83:34
This happens whenever there’s an ordered or unordered list. Adding the block types to the blockToHTML function has no effect. It still throws that error.
Issue Analytics
- State:
- Created 7 years ago
- Comments:11
Top Results From Across the Web
Why are my ul and ol lists not displaying properly in IE7?
Something seems to be breaking the display of lists ( ul and ol ) in IE7. They work fine in IE8, FF, Safari...
Read more >H48: Using ol, ul and dl for lists or groups of links - W3C
The objective of this technique is to create lists of related items using list elements appropriate for their purposes. The ol element is...
Read more >Outlook 365 for Windows Desktop and Lists using UL & OL
Test your email campaigns in 100+ email clients and devices. Never send another broken email again. Start your free 7 day trial.
Read more >HTML: ol, ul, li, lists, unordered, ordered, listitem - YouTube
HTML: ol, ul, li, lists, unordered, ordered, listitem.
Read more >Why are the unordered bullet lists displaying as ordered ...
The web standard is that if you have an unordered list (ul) then it uses bullet points, and if you use an ordered...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just ran into this issue as well. This is what fixed it for me in case anyone else is stuck on the same problem (note the nestStart/nestEnd tags):
We are using your recommended example to me from awhile back: