X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fmaximize%2Fplugin.js;h=9f1804371ec95c4d93e3aa6e53c48aeac6f0352f;hb=055b6b0792ce7dc53d47af606b367c04b927c2ab;hp=bcb726c8d5c60f2a6c868100a98cc93cb7e8124e;hpb=66f4ae0bf0280ed56bf7c0f4ab175424dd1d47a0;p=ckeditor.git diff --git a/_source/plugins/maximize/plugin.js b/_source/plugins/maximize/plugin.js index bcb726c..9f18043 100644 --- a/_source/plugins/maximize/plugin.js +++ b/_source/plugins/maximize/plugin.js @@ -226,6 +226,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license } ); shim = createIframeShim( container ); // IE6 select element penetration when maximized. (#4459) + + // Add cke_maximized class before resize handle since that will change things sizes (#5580) + container.addClass( 'cke_maximized' ); + resizeHandler(); // Still not top left? Fix it. (Bug #174) @@ -239,8 +243,6 @@ For licensing, see LICENSE.html or http://ckeditor.com/license // Fixing positioning editor chrome in Firefox break design mode. (#5149) CKEDITOR.env.gecko && refreshCursor( editor ); - // Add cke_maximized class. - container.addClass( 'cke_maximized' ); } else if ( this.state == CKEDITOR.TRISTATE_ON ) // Restore from fullscreen if the state is on. {