Fixed height for iframe problematic
tomrenner - November 7, 2008 - 20:40
| Project: | FCKeditor - WYSIWYG HTML editor |
| Version: | 6.x-2.0-alpha1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I needed an increased height for the editor-window and found it hardcoded in fckeditor.module, line 383:
// sensible default for small toolbars
$height = $element['#rows'] * 14 + 140;
This seems too unflexible to me. Is there a way to increase the windows size (ideally draggably) without hacking core?
Cheers, Thomas

#1
-Anti- had the same problem in #323144: increase height. If anyone is willing to propose a patch for this feature, please feel free to do it.
#2
Related problem - I changed the height in fckeditor.module for example to 40+140 ---> it gives me the correct display for the editor for the main content type on the site. However, when adding a blog or page or another content type, the editor is way too large for the page. For some reason, I am getting different editor heights on different content type pages.
Going to fckeditor/fckeditor/editor/fckeditor.html and changing the html min-height value does not effect the height of the editor display - though it will add extra height that is scrolled inside the table on the small form.
Maybe related to this, I am using:
FCKConfig.EditorAreaStyles = "body{background:#FFFFFF;text-align:left;}";
in the config, but using an additional FCKConfig.BodyId = "value"; or "container" hasn't solved the issue.
#3
This is something that has been requested more often. I'm closing this one as it is a duplicate of #352823: Possible to make text areas expandable with fckeditor installed?.