That is all right. Atanas.
I should clarify my question.
From the example u provide, there is function like this.
function onFullScreen(){
if(toggleFullScreen())
{
editor.wrapper.css({width: $("body").width(), height: $(document).height()});
}else{
editor.wrapper.css({width: 600, height: 400});
}
}
editor.wrapper.css({width: $("body").width(), height: $(document).height()}) will set editor to full screen. However, editor.wrapper.css({width: 600, height: 400}) will set editor to fixed 600 width and 400 height.
I don't want to toggle back to fixed width and height.
Here is what i want editor.wrapper.css({width: editor's original width before full screen, height: editor's original height before full screen}). Is it possible?