simply replace the following line (in sample05.html)
oFCKeditor.Height = 300;
with
oFCKeditor.Height = window.innerHeight;
BUT, after doing this you'll see that the editor will stretch beyond the window's viewable area. thats is cox, of the toolbars and frames (if any) in that page).
Re: Probleme with Height 100%
Help please !
Re: Probleme with Height 100%
Method 1
thats happening for 2 reasons
1. cox the source file (sample05.html) is overwriting the height given in fckeditor.js
find the line bellow in sample.html and either delete or simply comment the line
oFCKeditor.Height = 300;
2. according to my testing
this.Height = height || '100%'; ==> doesn't work in this case, but changing it as follows will give you "100%" height
this.Height = innerHeight || '100%';
-----------------------------------------------------------------------
Method 2
simply replace the following line (in sample05.html)
oFCKeditor.Height = 300;
with
oFCKeditor.Height = window.innerHeight;
BUT, after doing this you'll see that the editor will stretch beyond the window's viewable area. thats is cox, of the toolbars and frames (if any) in that page).