
Good day,
I've been experiencing a bug in the editor when we copy a list from one editor to another.
Please see attached screenshot.
Willing to make a PR to fix the issue just probably point me to the files needed to look at.
Thanks
I think the problem lies in html-to-draftjs library.
<ul>
<li><div>123</div></li>
<li><div>456</div></li>
</ul>
if the list html is constructed like in the snippet above, it will render the div content separated from the li content like <li></li> <div>123</div> in the editor.
I met the same bug, and I work out by using handlePastedText function to override.
<Editor ... handlePastedText={() => false}>
Most helpful comment
I met the same bug, and I work out by using
handlePastedTextfunction to override.<Editor ... handlePastedText={() => false}>