Ticket #4835: 4835.patch
File 4835.patch, 1.5 KB (added by , 13 years ago) |
---|
-
_source/plugins/maximize/plugin.js
114 114 editorFocus : false, 115 115 exec : function() 116 116 { 117 var container = editor.container.getChild( [ 0, 0 ]);117 var container = editor.container.getChild( 0 ); 118 118 var contents = editor.getThemeSpace( 'contents' ); 119 119 120 120 // Save current selection and scroll position in editing area. -
_source/themes/default/theme.js
276 276 if ( numberRegex.test( width ) ) 277 277 width += 'px'; 278 278 279 var cont ents = CKEDITOR.document.getById( 'cke_contents_' + this.name );280 var outer = resizeInner ? contents.getAscendant( 'table' ).getParent()281 : contents.getAscendant( 'table' ).getParent().getParent().getParent();279 var container = this.container, 280 contents = CKEDITOR.document.getById( 'cke_contents_' + this.name ), 281 outer = resizeInner ? container.getChild( 0 ) : container; 282 282 283 283 // Resize the width first. 284 284 // WEBKIT BUG: Webkit requires that we put the editor off from display when we … … 302 302 303 303 CKEDITOR.editor.prototype.getResizable = function() 304 304 { 305 return this.container.getChild( [ 0, 0 ]);305 return this.container.getChild( 0 ); 306 306 }; 307 307 308 308 /**