Clone properties for contenteditable divs. Fixes #1897

Cloning the contentEditable and innerHTML properties fixes the issue with conteneditable disappearing during scroll