Is there a way I can make window.clipboardData.setData
(javascript code that works in IE only) store text that is formatted?
I can figure out new line breaks, but I'm after bold/underline/italic text.
I'm sure there are differnt types of encodings to do this, I'm just not sure where to start looking.
As the text is intended to be posted into MS Office products (Outlook, and Word), I would guess that it's in RTF. I attempted using HTML and specifying 'html/text' mime, but it only accepts "Text" and "URL".
I have attempted to put \b and \b0 around the desired bolded text as per http://msdn.microsoft.com/en-us/library/aa140284(office.10).aspx but this only results in a strange \b char code.