Ticket #8945: 8945_2.patch
File 8945_2.patch, 2.2 KB (added by , 12 years ago) |
---|
-
_source/plugins/fakeobjects/plugin.js
82 82 var attributes = 83 83 { 84 84 'class' : className, 85 src : CKEDITOR.getUrl( 'images/spacer.gif' ),86 85 'data-cke-realelement' : encodeURIComponent( realElement.getOuterHtml() ), 87 86 'data-cke-real-node-type' : realElement.type, 88 87 alt : label, … … 90 89 align : realElement.getAttribute( 'align' ) || '' 91 90 }; 92 91 92 // Do not set "src" on high-contrast so the alt text is displayed. (#8945) 93 if ( !CKEDITOR.env.hc ) 94 attributes.src = CKEDITOR.getUrl( 'images/spacer.gif' ); 95 93 96 if ( realElementType ) 94 97 attributes[ 'data-cke-real-element-type' ] = realElementType; 95 98 … … 123 126 var attributes = 124 127 { 125 128 'class' : className, 126 src : CKEDITOR.getUrl( 'images/spacer.gif' ),127 129 'data-cke-realelement' : encodeURIComponent( html ), 128 130 'data-cke-real-node-type' : realElement.type, 129 131 alt : label, … … 131 133 align : realElement.attributes.align || '' 132 134 }; 133 135 136 // Do not set "src" on high-contrast so the alt text is displayed. (#8945) 137 if ( !CKEDITOR.env.hc ) 138 attributes.src = CKEDITOR.getUrl( 'images/spacer.gif' ); 139 134 140 if ( realElementType ) 135 141 attributes[ 'data-cke-real-element-type' ] = realElementType; 136 142 -
_source/plugins/wysiwygarea/plugin.js
1195 1195 else if ( CKEDITOR.env.gecko ) 1196 1196 { 1197 1197 editor.addCss( 'html { height: 100% !important; }' ); 1198 editor.addCss( 'img:-moz-broken { -moz-force-broken-image-icon : 1; width : 24px;height : 24px; }' );1198 editor.addCss( 'img:-moz-broken { -moz-force-broken-image-icon : 1; min-width : 24px; min-height : 24px; }' ); 1199 1199 } 1200 1200 // Remove the margin to avoid mouse confusion. (#8835) 1201 1201 else if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 && editor.config.contentsLangDirection == 'ltr' )