Is is possible to change the height of the editor with Javascript after it has been created?
I am using Javascript to calculate and set the height of the editor inside the script that creates the editor object - and that works fine. I call it to set the height of the editor just before the oFCKeditor.Create() statement.
But if the browser window is resized after the creation I want to recalculate and then increase or decrease the height of the editor so that the editor still fills the space provided.
I can not use FitWindow() in this case because I am using Toolbarlocation to position the toolbar outside the editor area (in fact I opened a ticket and made a suggestion for a new feature to support this).
Also would the same technique work for changing the width of the editor this way?
Oddly enough I can use JS to change the width of the FORM that contains the editor (after it is created) and that works fine. But trying to change the height of the form has no effect on the editor.
One other question:
Is there a property of the editor that I can query (after creation) that will return the height of the toolbar?
Thanks!
MD
I am using Javascript to calculate and set the height of the editor inside the script that creates the editor object - and that works fine. I call it to set the height of the editor just before the oFCKeditor.Create() statement.
oFCKeditor.Height = pageHeight() - 32 ;
But if the browser window is resized after the creation I want to recalculate and then increase or decrease the height of the editor so that the editor still fills the space provided.
I can not use FitWindow() in this case because I am using Toolbarlocation to position the toolbar outside the editor area (in fact I opened a ticket and made a suggestion for a new feature to support this).
Also would the same technique work for changing the width of the editor this way?
Oddly enough I can use JS to change the width of the FORM that contains the editor (after it is created) and that works fine. But trying to change the height of the form has no effect on the editor.
One other question:
Is there a property of the editor that I can query (after creation) that will return the height of the toolbar?
Thanks!
MD