X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=public%2Fassets%2Fplugins%2Fckeditor%2Fsamples%2Fold%2Fautogrow%2Fautogrow.html;h=f9929433c3baede786cfe0714bf03182d1fa2c94;hb=6fdab3092eb5921e04b504e7c4b8d9a83a249fb1;hp=ab5d1ee7c3eb2bf4feec2443c4a32edfdf406769;hpb=92637af87fcc7d9b13774acc187fd2e85d866a5e;p=motion.git diff --git a/public/assets/plugins/ckeditor/samples/old/autogrow/autogrow.html b/public/assets/plugins/ckeditor/samples/old/autogrow/autogrow.html index ab5d1ee..f992943 100644 --- a/public/assets/plugins/ckeditor/samples/old/autogrow/autogrow.html +++ b/public/assets/plugins/ckeditor/samples/old/autogrow/autogrow.html @@ -1,102 +1,102 @@ - - - -
- -
- This sample shows how to configure CKEditor instances to use the
- 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 - CKEditor window infinitely in order to avoid introducing scrollbars to the editing area. -
-
- 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
- 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
- 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 does not 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
- the <textarea>
element to be replaced with CKEditor. The maximum height should
- be given in pixels.
-
+ This sample shows how to configure CKEditor instances to use the
+ 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 + CKEditor window infinitely in order to avoid introducing scrollbars to the editing area. +
+
+ 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
+ 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
+ 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 does not 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
+ the <textarea>
element to be replaced with CKEditor. The maximum height should
+ be given in pixels.
+