JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.1
[ckeditor.git] / _samples / autogrow.html
index e5ac0e0..560474f 100644 (file)
@@ -37,7 +37,9 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
        <pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',\r
        {\r
                <strong>extraPlugins : 'autogrow',</strong>\r
-               autoGrow_maxHeight : 800\r
+               autoGrow_maxHeight : 800,\r
+               // Remove the resize plugin, as it doesn't make sense to use it in conjunction with the AutoGrow plugin.\r
+               removePlugins : 'resize'\r
        });</pre>\r
        <p>\r
                Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of\r
@@ -64,7 +66,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                        //<![CDATA[\r
 \r
                                CKEDITOR.replace( 'editor1', {\r
-                                       extraPlugins : 'autogrow'\r
+                                       extraPlugins : 'autogrow',\r
+                                       removePlugins : 'resize'\r
                                });\r
 \r
                        //]]>\r
@@ -79,7 +82,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 \r
                                CKEDITOR.replace( 'editor2', {\r
                                        extraPlugins : 'autogrow',\r
-                                       autoGrow_maxHeight : 400\r
+                                       autoGrow_maxHeight : 400,\r
+                                       removePlugins : 'resize'\r
                                });\r
 \r
                        //]]>\r