How Do I Remove the Ability to Resize All CKEditor Dialog Windows?

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(Article contents added)
 
(Minor correction)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#CUSTOMTITLE:How Do I Remove the Ability to Resize CKEditor Dialog Windows?}}
+
{{#CUSTOMTITLE:How Do I Remove the Ability to Resize All CKEditor Dialog Windows?}}
Since version 3.5 the dialog windows of CKEditor can be [[CKEditor_3.x/Users_Guide/Interface/Dialog_Windows#Resizing_a_Dialog_Window|resized]] by using the resizing grip located in the bottom right-hand corner of a dialog window.
+
Since version 3.5 the dialog windows of CKEditor can be [[CKEditor_3.x/Users_Guide/Interface/Dialog_Windows#Resizing_a_Dialog_Window|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).
  
 
[[Image:CKEditor_dialog_window_resizing.png|frame|center|The resizing grip of a CKEditor dialog window]]
 
[[Image:CKEditor_dialog_window_resizing.png|frame|center|The resizing grip of a CKEditor dialog window]]
Line 10: Line 10:
 
CKEDITOR.on( 'dialogDefinition', function( ev )
 
CKEDITOR.on( 'dialogDefinition', function( ev )
 
{
 
{
  ev.data.definition.resizable = CKEDITOR.DIALOG_RESIZE_NONE;
+
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 only.

Latest revision as of 14:07, 7 March 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).

The resizing grip of a CKEditor dialog window


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 only.

This page was last edited on 7 March 2011, at 14:07.