Draft.js: empty block before pasted list element

Viewed 25

After I paste a list element(not whole list) into Draft.js text redactor, somehow creates empty div with empty span before pasted list element. I get this only when list element copied by triple clicks on the text inside. How can I avoid this behavior?

screenshots:

empty field

after paste list element

with html

sandbox examples:

first

second

0 Answers
Related