EDT-567 CSS box disappears when pasting text

https://youtrack.mindtouch.us/issue/EDT-567