X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/871bad8291b6dbc29d489d95d185458caab25158..14d450d78a2d67ec1decd64c928151851961dd36:/_samples/autogrow.html diff --git a/_samples/autogrow.html b/_samples/autogrow.html deleted file mode 100644 index 560474f..0000000 --- a/_samples/autogrow.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - AutoGrow Plugin — CKEditor Sample - - - - - - -

- CKEditor Sample — Using AutoGrow Plugin -

-
-

- This sample shows how to configure CKEditor instances to use the - autogrow plugin that lets the editor window expand and shrink - depending on the amount and size of content entered in the editing area. -

-

- In its default implementation the AutoGrow feature can expand the - CKEditor window infinitely in order to avoid introducing scrollbars to the editing area. -

-

- It is also possible to set a maximum height for the editor window. Once CKEditor - editing area reaches the value in pixels specified in the autoGrow_maxHeight - attribute, scrollbars will be added and the editor window will no longer expand. -

-

- To add a CKEditor instance using the autogrow plugin and its - autoGrow_maxHeight attribute, insert the following JavaScript call to your code: -

-
CKEDITOR.replace( 'textarea_id',
-	{
-		extraPlugins : 'autogrow',
-		autoGrow_maxHeight : 800,
-		// Remove the resize plugin, as it doesn't make sense to use it in conjunction with the AutoGrow plugin.
-		removePlugins : 'resize'
-	});
-

- Note that textarea_id in the code above is the id attribute of - the <textarea> element to be replaced with CKEditor. The maximum height should - be given in pixels. -

-
- -
- -
-
-

- - - -

-

- - - -

-

- -

-
- - -