slate-edit-list icon indicating copy to clipboard operation
slate-edit-list copied to clipboard

when wrapInList. it generates <ul><p></p><p></p></ul> ....

Open PrimeObjects opened this issue 6 years ago • 4 comments

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

PrimeObjects avatar Aug 12 '18 01:08 PrimeObjects

OK maybe something changed in Slate >0.33 which broke this behavior. We will have a look when we upgrade the plugin.

Soreine avatar Aug 19 '18 18:08 Soreine

Thank you for reporting :)

Soreine avatar Aug 19 '18 18:08 Soreine

No problem, Spreine, Looking forward your upgrade.

Cheers Gary

PrimeObjects avatar Aug 29 '18 17:08 PrimeObjects

If you are looking for version that works with original slate version, you can find it here https://github.com/guestbell/slate-plugins

PeterKottas avatar Dec 21 '18 21:12 PeterKottas