+ <div class="description">\r
+ <p>\r
+ This sample shows how to configure CKEditor instances to use the\r
+ <strong>autogrow</strong> plugin that lets the editor window expand and shrink\r
+ depending on the amount and size of content entered in the editing area.\r
+ </p>\r
+ <p>\r
+ In its default implementation the <strong>AutoGrow feature</strong> can expand the\r
+ CKEditor window infinitely in order to avoid introducing scrollbars to the editing area.\r
+ </p>\r
+ <p>\r
+ It is also possible to set a maximum height for the editor window. Once CKEditor\r
+ editing area reaches the value in pixels specified in the <code>autoGrow_maxHeight</code>\r
+ attribute, scrollbars will be added and the editor window will no longer expand.\r
+ </p>\r
+ <p>\r
+ To add a CKEditor instance using the <strong>autogrow</strong> plugin and its\r
+ <code>autoGrow_maxHeight</code> attribute, insert the following JavaScript call to your code:\r
+ </p>\r
+ <pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',\r
+ {\r
+ <strong>extraPlugins : 'autogrow',</strong>\r
+ autoGrow_maxHeight : 800\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
+ the <code><textarea></code> element to be replaced with CKEditor. The maximum height should\r
+ be given in pixels.\r
+ </p>\r
+ </div>\r