2013-10-10 25 views
2

我已经使用ckeditor图像插件配置了我自己的自定义图像存储库。 现在我想改变图像对话框的大小。我已经查了很多,但发现只改变文件浏览器和ckeditor本身的高度和宽度的属性。 我该如何更改ckeditor工具栏中图像图标上出现的图像对话框的大小。ckeditor图像对话框大小

这里是我的代码:

CKEDITOR.editorConfig = function(config) {  
    config.height = '350px'; 
    //config.width = '1000px'; 
    config.uiColor = '#d6d6d6'; 
    config.fullPage = true; 
    config.extraPlugins = 'importdoc,docprops'; 
    config.scayt_autoStartup = true; 
    config.filebrowserBrowseUrl = 'jcrPage'; 
    config.filebrowserImageBrowseUrl = 'jcrPage'; 
    config.filebrowserImageUploadUrl = 'imageUpload'; 
    config.filebrowserWindowHeight = 500; 
    config.filebrowserWindowWidth = 500; 
    config.filebrowserImageWindowWidth = 700; 
    config.filebrowserImageWindowHeight = 700; 
    config.toolbarGroups = [ 
     { name: 'document', groups: [ 'mode'] }, 
     { name: 'editing', groups: [ 'find', 'selection'] }, 
     { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, 
     { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align' ] }, 
     { name: 'links' }, 
     { name: 'insert' }, 
     { name: 'styles' }, 
     { name: 'colors' }, 
    ]; 
    config.removePlugins = 'flash, iframe, templates, div, source, smiley, save, newpage'; 
    config.removeDialogTabs = 'image:advanced'; 
}; 

感谢

回答