ianstormtaylor / slate

A completely customizable framework for building rich text editors. (Currently in beta.)
http://slatejs.org
MIT License
29.97k stars 3.25k forks source link

List question #356

Closed podviaznikov closed 8 years ago

podviaznikov commented 8 years ago

Rich text example (http://slatejs.org/#/rich-text?_k=fc0q65) has this small problem with the list.

If you create a list you can't create element after the list anymore. Would be good if demo supported keys when clicking "Enter" twice removed last item of the list and user would be able to continue with outside of the list.

SamyPesse commented 8 years ago

Hey @podviaznikov, the slate examples are designed to be small POC of Slate.

But Slate is designed to be the framework to build editing UX, it should not handle these use cases in the core (@ianstormtaylor, feel free to correct me if I'm wrong ;) )

Since Slate is extensible, plugins can provide these UXs, at GitBook we built: