X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=_samples%2Fautogrow.html;h=5d159e31120033e10328ec3cd380d466668e8e2e;hb=refs%2Ftags%2Fv3.6.2;hp=560474fbfd3fb2fe24cba55a5fe6285fb740b393;hpb=f0610347140239143439a511ee2bd48cb784f470;p=ckeditor.git 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