Have you tried CKEditor built-in to Word cleanup features? It seems to start automatically when using the "Insert from word" dialog, but can also be used from your code. I'm not a CKEditor API expert, so there may be a more efficient or proper way to do this, but this seems to work with the current version (3.3.1):
function cleanUp() {
if (!CKEDITOR.cleanWord) {
CKEDITOR.scriptLoader.load("../plugins/pastefromword/filter/default.js", cleanUp, null, false, true );
alert('loading script for the first usage');
} else {
var editor = CKEDITOR.instances.editor1;
var cleanedUpData = CKEDITOR.cleanWord(editor .getData(), editor );
alert(cleanedUpData);
}
}
cleanUp();
, default.js .
, http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html ( "pasteFromWord" ).
- , , WordOff (http://wordoff.org/). , jsonp- , .