X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=_samples%2Fautogrow.html;h=560474fbfd3fb2fe24cba55a5fe6285fb740b393;hb=f0610347140239143439a511ee2bd48cb784f470;hp=e5ac0e0b441c0fde41e348a1b629c6db5614147c;hpb=4e70ea24db840898be8cc21c950363a52a2a6aba;p=ckeditor.git diff --git a/_samples/autogrow.html b/_samples/autogrow.html index e5ac0e0..560474f 100644 --- a/_samples/autogrow.html +++ b/_samples/autogrow.html @@ -37,7 +37,9 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
CKEDITOR.replace( 'textarea_id',
 	{
 		extraPlugins : 'autogrow',
-		autoGrow_maxHeight : 800
+		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 @@ -64,7 +66,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license // @@ -79,7 +82,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license CKEDITOR.replace( 'editor2', { extraPlugins : 'autogrow', - autoGrow_maxHeight : 400 + autoGrow_maxHeight : 400, + removePlugins : 'resize' }); //]]>