It looks like (tested with the example on the website) if you copy all of the code inside of a code block from one to another, the target code block won't have preserved any line breaks.

Weird. Is this only happening with code blocks? And this is a purely internal paste, right?
Yup! I've only seen it with code blocks, and purely internally. (There's a separate problem with external pasting though, from https://github.com/facebook/draft-js/issues/394 .)
My guess is this has something to do with https://github.com/facebook/draft-js/issues/452 .
Any updates on this?
Most helpful comment
Any updates on this?