How does one change the editor so that it scales vertically? So that it fills the web browser... no matter the size.. but should have a minimum size.
This should be able to be done with CSS is my guess.
I tried editing the CSS with webkit's inspector, but i couldn't get anywhere close.
This should be able to be done with CSS is my guess.
I tried editing the CSS with webkit's inspector, but i couldn't get anywhere close.

Re: How does one change the editor so that it scales vertica
you can actually set the size of the ckeditor..
<script type="text/javascript"> CKEDITOR.replace( 'name of the text area', { height:600, width:750, resize_enabled:false // prevent resizing }); </script>Re: How does one change the editor so that it scales vertica
// autogrow plugin, downloaded from http://dev.fckeditor.net/ticket/4606 (function() { function check( editor, wrapper ) { var desiredHeight = getDesiredHeight(editor), currentHeight = editor.window.getViewPaneSize().height, newHeight = getEffectiveHeight( editor, desiredHeight ); if ( newHeight != currentHeight ) { newHeight = editor.fire( 'beforeAutogrow' , {currentHeight : currentHeight, newHeight : newHeight} ).newHeight; wrapper.setStyle('height', newHeight + 'px'); editor.fire( 'afterAutogrow' ); editor.document.$.documentElement.scrollTop = 0; } } function getEffectiveHeight( editor, height ) { var min = editor.config.autogrowMinHeight, max = editor.config.autogrowMaxHeight; if ( min && min > height ) height = min; else if ( max && max < height ) height = max; return height; } function getDesiredHeight( editor ) { var doc = editor.document.$, size; if ( CKEDITOR.env.ie ) size = doc.documentElement.scrollHeight; else size = doc.documentElement.offsetHeight; return size; } CKEDITOR.plugins.add( 'autogrow', { init : function( editor ) { editor.on( 'mode', function( event ) { event.removeListener(); var wrapper = CKEDITOR.document.getById('cke_contents_' + editor.name); function listener () { check(editor, wrapper); } editor.on('contentDom', listener); editor.on('key', listener); editor.on('selectionChange', listener); editor.on('insertElement', function() { setTimeout(listener, 1000); }); listener(); }); } }); /** * Minimum height of an editor instance that uses the autogrow plugin * @type Number * @default 200 * @example * config.autogrowMinHeight = 200; */ CKEDITOR.config.autogrowMinHeight = 200; /** * Maximum height of an editor instance that uses the autogrow plugin * @type Number * @default 500 * @example * config.autogrowMaxHeight = 500; */ CKEDITOR.config.autogrowMaxHeight = 500; })();Re: How does one change the editor so that it scales vertica