I have a plugin that inserts an HTML <object> tag where all I need to do is set the classid. However, I have 2 issues. First, CKEditor for some reason generates a lengthy data attribute containing I know not what. I can explicitly set the data atribute to an empty string, which works, but I do not understand why I need to do this. More irritating is that CKEditor assumes that it is an embedded Flash object and displays the word 'Flash' in a red box (although not initially - only after going into Source mode and then back again). Even if I set the codetype attribute to another MIME type such as application/octet-stream this still happens. Why make such a gross assumption and what can I do to avoid it?
Jon
Jon