There's an issue when pasting text from MS Word; one of the clipboard types is image/png, which contains a useless black box. Certainly an issue with Word but is not something they'll likely change at this point.
So, I added a check for text/html in the included types to determine if the paste should be handled. This may not be the best solution; open to other suggestions. And feel free not to merge -- this can just be for future documentation, if you prefer. :)
There's an issue when pasting text from MS Word; one of the clipboard types is
image/png
, which contains a useless black box. Certainly an issue with Word but is not something they'll likely change at this point.So, I added a check for
text/html
in the included types to determine if the paste should be handled. This may not be the best solution; open to other suggestions. And feel free not to merge -- this can just be for future documentation, if you prefer. :)