Where can i set the height and width of the input window?
When i use the drag to resize in the bottom right the window expands out of the <div> and i only see half the window.
My config >
<head>
<script type="text/javascript" src="includes/ckeditor/ckeditor.js"></script>
</head>
<textarea name="newstext"></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'newstext',
{
toolbar : 'Basic',
uiColor : '#eeeeee'
});
When i use the drag to resize in the bottom right the window expands out of the <div> and i only see half the window.
My config >
<head>
<script type="text/javascript" src="includes/ckeditor/ckeditor.js"></script>
</head>
<textarea name="newstext"></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'newstext',
{
toolbar : 'Basic',
uiColor : '#eeeeee'
});

Re: Where do i set the height and widht ?
CKEDITOR.replace( 'newstext', { toolbar : 'Basic', uiColor : '#eeeeee', width: '550px', height: '200px' });Re: Where do i set the height and widht ?
is there a way to have a fixed size and remove the resize feature in that is located at the bottom right corner?
Re: Where do i set the height and widht ?
The config looks something like this.
CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; config.resize_enabled = false; // if you can resize config.resize_maxHeight = 600; // max resize height config.resize_maxWidth = 500; // max resize width config.resize_minHeight = 600; // min resize height config.resize_minWidth = 500; // min resize width config.width = 500; // starting width config.height = 600; // starting height };There are more options that can be listed in this list.
see the documentation of ckeditor for them.
Best Regards,
Ben Zegveld.
Re: Where do i set the height and widht ?
Here is my config.js:
CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; config.toolbar = [ ['Source','-','Preview'], ['Cut','Copy','Paste','PasteText','PasteFromWord','-','SpellChecker', 'Scayt'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Bold','Italic','Underline'], ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], ['Link','Unlink','Anchor'], ['Image','Table','HorizontalRule','Smiley','SpecialChar'], '/', ['Styles','Format','Font','FontSize'], ['Maximize', 'ShowBlocks','-','About'] ]; config.resize_enabled = true; config.resize_maxWidth = 550; config.height = 300; config.width = 550; config.toolbarStartupExpanded = false; };As the OP said, whenever I try to resize the editor is expands well beyond the resize_maxWidth. I'd really like to be able to use resizing but this is untenable. Anyone seen this behavior and got any ideas where I can start looking?
Earl
Re: Where do i set the height and widht ?
Ever figure out a solution to this problem? I'm dealing with it right now and it's a little frustrating.
Earl
Re: Where do i set the height and widht ?
just add your values for both
Re: Where do i set the height and widht ?
Earl