I have been searching for this so long, but no result.
What I'm looking for is: At first, just one li( which has child contenteditable) appears, after pressing enter, it adds adds another li, like here in my fiddle: my fiddle.
Here everything works fine, but this case should be just when cursor is in the end or start of the sentence. For example, if cursor is in the middle, I want that, when pressing enter, to get the text which is after cursor.
Can I do that? Any help would be appreciated!