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.
@@ -32,9 +32,10 @@
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:
@@ -43,5 +44,5 @@
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'
});
@@ -65,5 +66,5 @@
+ CKEditor using the autogrow plugin with its default configuration:
' );
+ if ( document.body && (!document.readyState || document.readyState == 'complete') )
+ {
+ var script = document.createElement( 'script' );
+ script.type = 'text/javascript';
+ script.src = CKEDITOR.getUrl( '_source/core/loader.js' );
+ document.body.appendChild( script );
+ }
+ else
+ {
+ document.write(
+ '' );
+ }
}
Index: /CKEditor/branches/versions/3.6.x/contents.css
===================================================================
--- /CKEditor/branches/versions/3.6.x/contents.css (revision 7274)
+++ /CKEditor/branches/versions/3.6.x/contents.css (revision 7275)
@@ -21,5 +21,5 @@
/* IE7: reset rtl list margin. (#7334) */
*margin-right:0px;
- /* preserved spaces for rtl list item bullets. (#6249)*/
- padding-right:40px;
+ /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/
+ padding:0 40px;
}