Hi all,
How do I get the height of the editing area (without toolbars etc)?
What I'm trying to do is save the height of the editor after a resize. And this height must be the height of the actual editing IFRAME as this is what the config.height setting applies to.
Regards,
Ro
How do I get the height of the editing area (without toolbars etc)?
What I'm trying to do is save the height of the editor after a resize. And this height must be the height of the actual editing IFRAME as this is what the config.height setting applies to.
Regards,
Ro

Re: How do I get the height of the edit area?
function GetEditorSize(editor) { var doc = editor.document.$; var win = editor.document.getWindow().$; var w = 0; var h = 0; if (win.innerWidth) { w = win.innerWidth; h = win.innerHeight; } else { if (!(doc.documentElement.clientWidth == 0)) { w = doc.documentElement.clientWidth; h = doc.documentElement.clientHeight; } else { w = doc.body.clientWidth; h = doc.body.clientHeight; } } return { width: w, height: h }; }