Ticket #3916: 3916.patch
File 3916.patch, 3.5 KB (added by , 14 years ago) |
---|
-
_source/core/config.js
216 216 /** 217 217 * The editor width in CSS size format or pixel integer. 218 218 * @type String|Number 219 * @default ' 100%'219 * @default '' 220 220 * @example 221 221 */ 222 width : ' 100%',222 width : '', 223 223 224 224 /** 225 225 * The base Z-index for floating dialogs and popups. -
_source/themes/default/theme.js
24 24 var bottomHtml = editor.fireOnce( 'themeSpace', { space : 'bottom', html : '' } ).html; 25 25 26 26 var height = contentsHtml && editor.config.height; 27 var width = editor.config.width;28 27 29 28 var tabIndex = editor.config.tabIndex || editor.element.getAttribute( 'tabindex' ) || 0; 30 29 … … 34 33 else if ( !isNaN( height ) ) 35 34 height += 'px'; 36 35 37 if ( !isNaN( width ) ) 38 width += 'px'; 36 var style = ''; 37 var width = editor.config.width; 38 39 if ( width ) 40 { 41 if ( !isNaN( width ) ) 42 width += 'px'; 39 43 44 style += "width: " + width + ";"; 45 } 46 40 47 var container = CKEDITOR.dom.element.createFromHtml( [ 41 48 '<span' + 42 49 ' id="cke_', name, '"' + … … 45 52 ' dir="', editor.lang.dir, '"' + 46 53 ' title="', ( CKEDITOR.env.gecko ? ' ' : '' ), '"' + 47 54 ' lang="', editor.langCode, '"' + 48 ' tabindex="' + tabIndex + '">' + 55 ' tabindex="' + tabIndex + '"' + 56 ( style ? ' style="' + style + '"' : '' ) + 57 '>' + 49 58 '<span class="' , CKEDITOR.env.cssClass, '">' + 50 59 '<span class="cke_wrapper cke_', editor.lang.dir, '">' + 51 '<table class="cke_editor" border="0" cellspacing="0" cellpadding="0" style="width:', width, '"><tbody>' +60 '<table class="cke_editor" border="0" cellspacing="0" cellpadding="0"><tbody>' + 52 61 '<tr', topHtml ? '' : ' style="display:none"', '><td id="cke_top_' , name, '" class="cke_top">' , topHtml , '</td></tr>' + 53 62 '<tr', contentsHtml ? '' : ' style="display:none"', '><td id="cke_contents_', name, '" class="cke_contents" style="height:', height, '">', contentsHtml, '</td></tr>' + 54 63 '<tr', bottomHtml ? '' : ' style="display:none"', '><td id="cke_bottom_' , name, '" class="cke_bottom">' , bottomHtml , '</td></tr>' + -
_source/skins/office2003/mainui.css
9 9 border: solid 1px #dcdcdc; 10 10 */ 11 11 display: inline-table; 12 width: 100%; 12 13 } 13 14 14 15 .cke_skin_office2003, -
_source/skins/kama/mainui.css
45 45 border: solid 1px #dcdcdc; 46 46 */ 47 47 display: inline-table; 48 width: 100%; 48 49 } 49 50 50 51 .cke_skin_kama .ltr .cke_browser_ie iframe -
_source/skins/v2/mainui.css
9 9 border: solid 1px #dcdcdc; 10 10 */ 11 11 display: inline-table; 12 width: 100%; 12 13 } 13 14 14 15 .cke_skin_v2