We have a strange issue where when we copy and paste from Word to the Telerik Editor (2018.3.910.45) using Firefox on a Mac (running 12.4). that the editor inserts a large <style> tag with a font face element inside. See Attached Screenshot. This is only the case when using a Mac and Firefox. I can recreate the issue on the Telerik Demo page. https://demos.telerik.com/aspnet-ajax/editor/examples/cleaningwordformatting/defaultcs.aspx
Any thoughts on how to fix this would be most appreciated. Thanks! We tried utilizing the ConvertFontToSpan and ConvertInLineStylesToAttributes options in the content filter.
Can you set the StripFormattingOptions property to "MSWordRemoveAll,Css" and test again? The Css setting will strip the <style> tag on paste.
If this does not solve the problem, can you please provide the Word file so that I can test it on my side?
Yes. Attached are the screenshots of the "clean" text that show a large font face style chunk of code. I also attached the word document via a onedrive link. This again only happens in Firefox on my Mac. It does not happen with chrome.
Training Example Word Document.docx