Bug 393646 - Support reading image data off the clipboard on Mac r=josh,bienvenu sr=roc a=mconnor/drivers
git-svn-id: svn://10.0.0.236/trunk@236108 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1118,10 +1118,8 @@ NS_IMETHODIMP nsHTMLEditor::PrepareHTMLTransferable(nsITransferable **aTransfera
|
||||
}
|
||||
(*aTransferable)->AddDataFlavor(kHTMLMime);
|
||||
(*aTransferable)->AddDataFlavor(kFileMime);
|
||||
#ifdef XP_WIN32
|
||||
// image pasting from the clipboard is only implemented on Windows right now.
|
||||
// image pasting from the clipboard is only implemented on Windows & Mac right now.
|
||||
(*aTransferable)->AddDataFlavor(kJPEGImageMime);
|
||||
#endif
|
||||
}
|
||||
(*aTransferable)->AddDataFlavor(kUnicodeMime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user