Hi all,
This is a desperate call, after days of research. Check out this page:
http://www.fckeditor.net/_temp/editor_layout.html
We should have the following output:
I've tested it with IE6, IE7, FF2, FF3, Opera 9.5, Opera 10 and Safari 3, all of them in standards and quirks mode. This works in most of them, but, I'm not able to make it work in any way with IE and Opera in standards mode only. In these browsers, the editor height is higher than the expected:
Not checked IE8 yet.
Some notes about it:
- We must have a single outer element holding the entire structure. That element will receive the size we want the entire editor to have, either in absolute size or percents. This size must be precisely respected in the output.
- The red and yellow bars have unknown and flexible heights.
- The central part of it as well as the iframe must fill the remaining height.
Re: Final editor DOM structure: call for help
Re: Final editor DOM structure: call for help
Actually, not being able to fix this issue, we're force to have the "height" setting of the editor being used for the height on the "inner area" (editing area), instead of the whole editor structure. It doesn't look like a big issue, bit it will make it impossible to have percent heights, to have the editor filling the entire page space.
I still have some hope, that anyone around there would come with a magic solution for it. But for now we'll be moving forward with the above "solution".
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Final editor DOM structure: call for help
I asssume that setting it with javascript isn't an option... don't forget with the introduction of a new major version everything is allowed, even breaking backwards compatibility