react messes up the DOM sometimes because of, I assume, not being aware of the changes to the real DOM by contenteditable.