Is there a way to force paste to parse the plain text version (e.g. when pasting via Shift Cmd V) and never attempt to parse it as HTML? I want to be able to preserve all the whitespace.
It looks like I can override transformPastedHTML
and clipboardParser
to preserve whitespace but seeing as ProseMirror has the logic already I was wondering if there were a better way to utilize it?