+\r
+ // Coordinate with the "maximize" plugin. (#9311)\r
+ editor.on( 'beforeCommandExec', function( evt )\r
+ {\r
+ if ( evt.data.name == 'maximize' && evt.editor.mode == 'wysiwyg' )\r
+ {\r
+ if ( evt.data.command.state == CKEDITOR.TRISTATE_OFF )\r
+ {\r
+ var scrollable = getScrollable( editor );\r
+ scrollable.removeStyle( 'overflow' );\r
+ }\r
+ else\r
+ resizeEditor( editor );\r
+ }\r
+ });\r