Hi,
I want to allow pasting text from other applications into my editor. However when pasting Text from MS Word some very ugly and nonvalid HTML code gets inserted. I now want to use just the plain text from the clipboard but didn't find a solution how to detect if the clipboard contains Word stuff. Any ideas on this?


A more straight forward way would be to just allow inserting html formated text, if the source application is Mozilla itself. How do I use the global paste command (execCommand("paste",...) and allow only plain text?

Thanks
Daniel
_______________________________________________
mozilla-editor mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-editor

Reply via email to