Mark view elements that have been removed from the DOM as dirty
Mark view elements that have been removed from the DOM as dirty

Since browsers may have done who-knows-what to them.

FIX: Fix an issue where the DOM node representing a mark could be corrupted
when the browser decides to replace it with another node but ProseMirror restored
the old node after the change.

Issue prosemirror/prosemirror#976

ProseMirror/prosemirror-view