Javascript 编辑图像对话框大小

Javascript 编辑图像对话框大小,javascript,ckeditor,Javascript,Ckeditor,我已经使用ckeditor图像插件配置了自己的自定义图像存储库。 现在我想更改图像对话框的大小。我检查了很多,但只找到了更改文件浏览器和ckeditor本身的高度和宽度的属性。 如何更改屏幕上显示的“图像”对话框的大小,如ckeditor工具栏中的图像图标 这是我的密码: CKEDITOR.editorConfig = function( config ) { config.height = '350px'; //config.width = '1000px';

我已经使用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';
};

谢谢,对话框的大小由4个属性控制:


要了解如何自定义现有对话框的定义,请参阅我以前的回答:

谢谢,它通过此链接提供了一些帮助:-