slate-edit-list
slate-edit-list copied to clipboard
when wrapInList. it generates <ul><p></p><p></p></ul> ....
Have two
block, select both of them, click wrapInList button, it becomes <ul><p></p><p></p></ul>,
there's no any <li>
inside <ul>
.
I can't reproduce it in the online demo, but it happened in my project with almost exactly same code.
"react": "^16.4.1", "slate": "^0.37.3", "slate-edit-list": "^0.12.0", "slate-react": "^0.15.4",
Thanks Gary
OK maybe something changed in Slate >0.33 which broke this behavior. We will have a look when we upgrade the plugin.
Thank you for reporting :)
No problem, Spreine, Looking forward your upgrade.
Cheers Gary
If you are looking for version that works with original slate version, you can find it here https://github.com/guestbell/slate-plugins