import "../../utils/jqword.js";
function wordDownload() {
var styles =
"# iframe里富文本div的I D{width:500px !important;margin:0 auto;font-size:20px;text-align:center;}";
$(document.getElementById(' iframe的ID ').contentDocument.getElementById(' iframe里富文本div的ID ')).wordExport(文件名, styles);
}
jqword.js见资源