Five-great/tinymce-plugins

导入word文档异常

yugi1017 opened this issue · 1 comments

导入docx的,控制台会出现异常;

plugin.js:111 Uncaught TypeError: Cannot read property 'close' of null
    at eval (eval at <anonymous> (plugin.js:748), <anonymous>:1:364)
    at importword_filter (config.js:174)
    at p (eval at <anonymous> (plugin.js:748), <anonymous>:1:327)
    at g (plugin.js:257)
    at g._settlePromiseFromHandler (plugin.js:202)
    at g._settlePromise (plugin.js:204)
    at g._settlePromise0 (plugin.js:205)
    at g._settlePromises (plugin.js:208)
    at m._drainQueue (plugin.js:113)
    at m._drainQueues (plugin.js:113)
    at drainQueues (plugin.js:109)

导入doc文档,没有进入到importword_filter就控制台报错了

plugin.js:370 Uncaught Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html
    at n.readEndOfCentral (plugin.js:370)
    at n.load (plugin.js:373)
    at new n (plugin.js:366)
    at n.W.exports [as load] (plugin.js:335)
    at new n (plugin.js:334)
    at Object.C.openArrayBuffer (plugin.js:104)
    at Object.C.openZip (plugin.js:13)
    at n (plugin.js:70)
    at Object.C.convertToHtml (plugin.js:71)
    at eval (eval at <anonymous> (plugin.js:748), <anonymous>:1:92)
    at FileReader.b.onload (eval at <anonymous> (plugin.js:748), <anonymous>:1:797)

插件未更新 或 缓存问题