Caret now moves the way we expect

Caret is moved to the next line after the last inserted node and the
editor is focused