diff --git a/components/editor/init.js b/components/editor/init.js index afffcf4..47c2e73 100644 --- a/components/editor/init.js +++ b/components/editor/init.js @@ -169,6 +169,7 @@ var editor = { resize : function(id){ editor_instance[id].resize(); + $('.editor').css({'width':$(window).outerWidth()-310+'px','height':$(window).outerHeight()+'px'}); }, //////////////////////////////////////////////////////////////////