Hi, I'm implementing a little "cleanup" plugin to get rid of MS Word's custom HTML guff from within an editor window.
But there's a snag.. When I hit the "view source" button, I can see all the lovely MS Word markup, like "<meta content="Word.Document"", all the "<w:...>" tags, etc.
But, in my plugin, when I retrieve the source from the editor (I'm using FCK.EditorDocument.body.innerHTML) I get an "edited" version which doesn't give me access to it all. Meta tags are replaced with "<fck:meta ...>". Why is that?
Is there another function I can use which will give me the original, raw, exact source I can see in "view source" mode?
Cheers!
But there's a snag.. When I hit the "view source" button, I can see all the lovely MS Word markup, like "<meta content="Word.Document"", all the "<w:...>" tags, etc.
But, in my plugin, when I retrieve the source from the editor (I'm using FCK.EditorDocument.body.innerHTML) I get an "edited" version which doesn't give me access to it all. Meta tags are replaced with "<fck:meta ...>". Why is that?
Is there another function I can use which will give me the original, raw, exact source I can see in "view source" mode?
Cheers!