我刚刚意识到"正常"粘贴到WordPress的文章不再适用:我使用wordpress 4.9.4(内部部署)和Chrome65。任何遇到同样问题的人。在点击 CTRL + v
之后的控制台输出caught TypeError: Cannot read property 'hasClass' of undefined
at HTMLDocument.<anonymous> (load-scripts.php:652)
at HTMLDocument.dispatch (load-scripts.php:3)
at HTMLDocument.r.handle (load-scripts.php:3)
at Object.trigger (load-scripts.php:3)
at Object.a.event.trigger (load-scripts.php:9)
at HTMLDocument.<anonymous> (load-scripts.php:3)
at Function.each (load-scripts.php:2)
at a.fn.init.each (load-scripts.php:2)
at a.fn.init.trigger (load-scripts.php:3)
at Object.<anonymous> (load-scripts.php:4)
/blog/wp-content/plugins/image-elevator/assets/admin/js/image-elevator.tinymce.js?wp-mce-4607-20180123:31 Uncaught TypeError: Cannot read property 'isClipboardActive' of undefined
at HTMLDocument.editor.getDoc.onpaste (/blog/wp-content/plugins/image-elevator/assets/admin/js/image-elevator.tinymce.js?wp-mce-4607-20180123:31)
post.php:3315 Uncaught TypeError: Cannot read property 'processPastedContent' of undefined
at Object.paste_preprocess (post.php:3315)
at q.<anonymous> (/blog/wp-includes/js/tinymce/plugins/paste/plugin.min.js?wp-mce-4607-20180123:1)
at b.e [as fire] (tinymce.min.js:6)
at q.fire (tinymce.min.js:6)
at Object.a [as firePastePreProcess] (/blog/wp-includes/js/tinymce/plugins/paste/plugin.min.js?wp-mce-4607-20180123:1)
at e (/blog/wp-includes/js/tinymce/plugins/paste/plugin.min.js?wp-mce-4607-20180123:1)
at Object.f [as process] (/blog/wp-includes/js/tinymce/plugins/paste/plugin.min.js?wp-mce-4607-20180123:1)
at m (/blog/wp-includes/js/tinymce/plugins/paste/plugin.min.js?wp-mce-4607-20180123:1)
at n (/blog/wp-includes/js/tinymce/plugins/paste/plugin.min.js?wp-mce-4607-20180123:1)
at a (/blog/wp-includes/js/tinymce/plugins/paste/plugin.min.js?wp-mce-4607-20180123:1)
有什么建议吗?
答案 0 :(得分:0)
你可以看到它说的是“图像电梯”。我检查了我的插件,发现以下插件已激活: OnePress的OnePress Image Elevator(版本2.5.8) 停用插件后,再次使用。