CKEditor插件给出错误'未捕获TypeError:无法读取null'的属性'icons'

Rol*_*ndo 5 ckeditor

我刚开始使用cdn的CKEditor(最新版本4.5.7),想要使用插件:

http://ckeditor.com/addon/uploadimage
Run Code Online (Sandbox Code Playgroud)

我已将该插件的文件下载并解压缩为'myplugins/uploadImage /'.

                <textarea name="editor1"></textarea>
                <script>
                    CKEDITOR.plugins.addExternal( 'uploadImage', '/myplugins/uploadImage/', 'plugin.js' );
                    CKEDITOR.replace( 'editor1', {
                         extraPlugins: 'uploadImage'
                    } );                        
                </script>               
Run Code Online (Sandbox Code Playgroud)

CKEditor在没有任何插件的情况下工作,但是当我执行上述操作添加'uploadImage'插件时,我在chrome控制台中收到以下错误:

'未捕获的TypeError:无法读取null的属性'图标'

我错过了什么?

jk.*_*jk. 0

我的解决方案基于这个答案:ckeditor - Uncaught TypeError: Cannot read property 'icons' of null

我没有进行任何图像上传,但我试图添加一个我尚未安装的插件。具体来说,是: extraPlugins: 'tableresize',

我不需要tableresize,所以我只是tableresizeextraPlugins线路中删除了它。我重新加载页面,错误消失了。