Thibaud’s blog

Notes, thoughts, and open-source software

Live coding – Draft.js copy-paste fix

Most of the functionality of Draftail comes from Draft.js, and so do the bugs. One of the most problematic ones for us was the poor support for copy-paste of content between editors. Here’s me live coding my attempt at a fix.

Take one

PR: thibaudcolas/draftjs-conductor#2

Take two

PR: thibaudcolas/draftjs-conductor#3


This is now available as a PR to Draft.js, and as a separate package (draftjs-conductor), over at facebook/draft-js#1784.