This commit is contained in:
parent
1a37fa86f1
commit
76710282b4
@ -2161,6 +2161,7 @@ namespace Volian.Controls.Library
|
||||
// solution, clipboard data may come from other 3rd-party tools and unsupported Rtf may get
|
||||
// pasted in. But the hope is that this will happen less often than getting it from MS Word.
|
||||
IDataObject myDO = Clipboard.GetDataObject();
|
||||
if (myDO.GetDataPresent(DataFormats.Text)) return false;
|
||||
string tmpForLink = myDO.GetData(DataFormats.Rtf).ToString();
|
||||
if (tmpForLink.ToUpper().Contains(@"SCHEMAS.MICROSOFT.COM/OFFICE/WORD"))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user