未捕获的TypeError:无法读取属性' setSize'在CKEditor中未定义

时间:2016-10-05 14:13:52

标签: javascript ckeditor

当我在Chrome中启动CKEditor时,出现下一个错误:

Uncaught Type Error cannot read property 'setSize'  of undefined ckeditor.js:323

这是来自剧本的一行:

 f.setSize("width",a,true);g&&(g.style.width="1%");j.setStyle("height",Math.max(b-(d?0:(f.$.offsetHeight||0)-(j.$.clientHeight||0)),0)+"px");g&&(g.style.width=
    "100%");this.fire("resize")};CKEDITOR.editor.prototype.getResizable=function(a){return a?this.ui.space("contents"):this.container};CKEDITOR.domReady(function(){CKEDITOR.replaceClass&&CKEDITOR.replaceAll(CKEDITOR.replaceClass)})})();CKEDITOR.config.startupMode="wysiwyg";

任何人都可以帮我解决这个错误吗?感谢

0 个答案:

没有答案