Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

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

Open
PrimeObjects opened this issue Aug 12, 2018 · 4 comments
Open

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

PrimeObjects opened this issue Aug 12, 2018 · 4 comments

Comments

@PrimeObjects
Copy link

PrimeObjects commented Aug 12, 2018

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

@Soreine
Copy link
Contributor

Soreine commented Aug 19, 2018

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

@Soreine
Copy link
Contributor

Soreine commented Aug 19, 2018

Thank you for reporting :)

@PrimeObjects
Copy link
Author

No problem, Spreine,
Looking forward your upgrade.

Cheers
Gary

@PeterKottas
Copy link

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

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

No branches or pull requests

3 participants