Tha*_*ama 5 javascript tinymce rte
我遇到的问题是,当我加载我的页面时,我立即收到错误: this.getDoc() is null
该函数getBody()的Editor.js被调用和文件似乎是不可用
getBody : function() {
return this.bodyElement || this.getDoc().body;
},
Run Code Online (Sandbox Code Playgroud)
在这种情况下,getBody()已由gecko代码块中的destroy()函数触发.
destroy : function(s) {
var t = this;
// One time is enough
if (t.destroyed)
return;
// We must unbind on Gecko since it would otherwise produce the pesky "attempt to run compile-and-go script on a cleared scope" message
if (isGecko) {
Event.unbind(t.getDoc());
Event.unbind(t.getWin());
Event.unbind(t.getBody()); // here is the relevant getBody() call
}
Run Code Online (Sandbox Code Playgroud)
破坏已由tinymce.js的addUnload函数触发
o.func.call(o.scope, 1);
Run Code Online (Sandbox Code Playgroud)
我该怎么做才能避免这个问题?
小智 2
当我升级jquery时发生在我身上..
要解决这个问题,只需将jquery升级到最新版本,并将tinymce升级到最新版本。
我在搜索网络时找到了此问题的其他解决方案。尝试删除文件管理器,图像管理器表单插件列表。如果设置不正确,可能会导致一些问题。
| 归档时间: |
|
| 查看次数: |
3418 次 |
| 最近记录: |