X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_samples%2Fautogrow.html;h=5d159e31120033e10328ec3cd380d466668e8e2e;hp=560474fbfd3fb2fe24cba55a5fe6285fb740b393;hb=e73319a12b56100b29ef456fd74114fe5519e01c;hpb=f0610347140239143439a511ee2bd48cb784f470 diff --git a/_samples/autogrow.html b/_samples/autogrow.html index 560474f..5d159e3 100644 --- a/_samples/autogrow.html +++ b/_samples/autogrow.html @@ -18,8 +18,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license

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. + AutoGrow (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 @@ -27,18 +27,19 @@ For licensing, see LICENSE.html or http://ckeditor.com/license

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. + editing area reaches the value in pixels specified in the + autoGrow_maxHeight + configuration setting, scrollbars will be added and the editor window will no longer expand.

- To add a CKEditor instance using the autogrow plugin and its + 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.
+		// Remove the Resize plugin as it does not make sense to use it in conjunction with the AutoGrow plugin.
 		removePlugins : 'resize'
 	});

@@ -60,7 +61,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license

+ CKEditor using the autogrow plugin with its default configuration: