GitbookIO/slate-edit-list

Unintuitive Caret Behavior (New List Item with Inline Node)

Closed this issue · 1 comments

Consider the following situation:

* text<caret>link

After pressing Enter I expect the following to happen:

* text
* <caret>link

Instead, the following happens:

* text<caret>
* link

Here's a video illustrating the problem: https://streamable.com/fk7wi

Here's a gomix for reproduction:

This should be fixed