(RTL note added) |
m (Code formatting) |
||
Line 10: | Line 10: | ||
CKEDITOR.on( 'dialogDefinition', function( ev ) | CKEDITOR.on( 'dialogDefinition', function( ev ) | ||
{ | { | ||
− | + | ev.data.definition.resizable = CKEDITOR.DIALOG_RESIZE_NONE; | |
}); | }); | ||
</source> | </source> | ||
Use the <code>CKEDITOR.DIALOG_RESIZE_WIDTH</code> and <code>CKEDITOR.DIALOG_RESIZE_HEIGHT</code> values to enable resizing of a dialog window in one dimension. | Use the <code>CKEDITOR.DIALOG_RESIZE_WIDTH</code> and <code>CKEDITOR.DIALOG_RESIZE_HEIGHT</code> values to enable resizing of a dialog window in one dimension. |
Revision as of 18:42, 22 February 2011
Since version 3.5 the dialog windows of CKEditor can be resized by using the resizing grip located in the bottom right-hand corner of a dialog window (for RTL languages — in the bottom left-hand corner).
You can disable the resizing feature completely by setting the resizable
parameter to CKEDITOR.DIALOG_RESIZE_NONE
.
CKEDITOR.on( 'dialogDefinition', function( ev ) { ev.data.definition.resizable = CKEDITOR.DIALOG_RESIZE_NONE; });
Use the CKEDITOR.DIALOG_RESIZE_WIDTH
and CKEDITOR.DIALOG_RESIZE_HEIGHT
values to enable resizing of a dialog window in one dimension.