Kit / slate-plugins

A collection of plugins for SlateJS, maintained by ConvertKit
https://convertkit-slate-plugins.netlify.com/
MIT License
52 stars 22 forks source link

Make toggle list change the list type if it's different #19

Closed brendancarney closed 5 years ago

brendancarney commented 5 years ago

Closes #18.

Now, if you call editor.ToggleList({ type: "ordered-list" }) from within an unordered-list, it will change the type instead of unwrapping it.