internal string GetHtml(NSPasteboard pboard)
        {
            string html = pboard.GetStringForType(Pasteboard.NSPasteboardTypeHTML);

            if (html != null)
            {
                return(HtmlClip.AddMetadata(html));
            }

            return(null);
        }
예제 #2
0
 protected string GetHtmlWithoutMetadata()
 {
     return(data.GetData(DataFormats.Html) is string s?HtmlClip.RemoveHeader(s) : null);
 }