ckeditor / editor-recommendations

A set of recommendations for modern editing solutions.
https://ckeditor.github.io/editor-recommendations/
47 stars 12 forks source link

Lists – enter should insert new list item after the current one #55

Closed Reinmar closed 7 years ago

Reinmar commented 7 years ago

Enter inside a non-empty list item SHOULD insert a new list item before the current list item.

I think it should be "after".

Comandeer commented 7 years ago

Actually I think it's more like splitting list item, e.g.

* te^st

would produce

* te
* ^st

Actually this description is probably based on the following situation:

* ^test

In this case list item is "split" and the empty half seems to be inserted before the current list item.

I propose changing the description into:

Enter inside a non-empty list item SHOULD split the current list item into two, depending on the position of caret.