Bug #256455 --> Unable to copy from MS Word and paste into message compose body with formatting
because we were incorrectly registering ourselves to handle native clipboard image formats for non Windows platforms. sr=bienvenu git-svn-id: svn://10.0.0.236/branches/AVIARY_1_0_20040515_BRANCH@165667 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1148,8 +1148,11 @@ NS_IMETHODIMP nsHTMLEditor::PrepareHTMLTransferable(nsITransferable **aTransfera
|
||||
}
|
||||
(*aTransferable)->AddDataFlavor(kHTMLMime);
|
||||
(*aTransferable)->AddDataFlavor(kFileMime);
|
||||
#ifdef XP_WIN32
|
||||
// we only support copy and paste of clipboard images on Windows
|
||||
(*aTransferable)->AddDataFlavor(kJPEGImageMime);
|
||||
(*aTransferable)->AddDataFlavor(kNativeImageMime);
|
||||
#endif
|
||||
|
||||
}
|
||||
(*aTransferable)->AddDataFlavor(kUnicodeMime);
|
||||
|
||||
Reference in New Issue
Block a user