Changeset 6942 for CKEditor/trunk
- Timestamp:
- 05/19/11 18:18:34 (2 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 4 edited
-
CHANGES.html (modified) (2 diffs)
-
_source/plugins/dialog/dialogDefinition.js (modified) (1 diff)
-
_source/plugins/dialog/plugin.js (modified) (3 diffs)
-
_source/plugins/liststyle/dialogs/liststyle.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r6939 r6942 41 41 <ul> 42 42 <li><a href="http://dev.ckeditor.com/ticket/6492">#6492</a> : Find/replace dialog now will be populated with editor's selected text.</li> 43 <li><a href="http://dev.ckeditor.com/ticket/7323">#7323</a> : New <a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.definition.uiElement.html#align">align</a> property on dialog UI element for field alignment.</li> 43 44 </ul> 44 45 <p> … … 63 64 <li><a href="http://dev.ckeditor.com/ticket/7860">#7860</a> : The BBCode plugin was stripping BBCode tags that are not implemented in the plugin, as from now they will be handled as a simple text.</li> 64 65 <li><a href="http://dev.ckeditor.com/ticket/7321">#7321</a> : [IE6] Contents inside RTL fields in dialog windows were overflowing.</li> 66 <li><a href="http://dev.ckeditor.com/ticket/7323">#7323</a> : [IE Quirks] Some dialog fields are not centre aligned.</li> 65 67 <li>Updated the following language files:<ul> 66 68 <li><a href="http://dev.ckeditor.com/ticket/7834">#7834</a> : Dutch;</li> -
CKEditor/trunk/_source/plugins/dialog/dialogDefinition.js
r6799 r6942 259 259 * Inline CSS classes to append to the UI element. 260 260 * @name CKEDITOR.dialog.definition.uiElement.prototype.style 261 * @field 262 * @type String 263 * @example 264 */ 265 266 /** 267 * Horizontal alignment (in container) of the UI element. 268 * @name CKEDITOR.dialog.definition.uiElement.prototype.align 261 269 * @field 262 270 * @type String -
CKEditor/trunk/_source/plugins/dialog/plugin.js
r6926 r6942 2262 2262 // Write the inline CSS styles. 2263 2263 var styleStr = ( elementDefinition.style || '' ).split( ';' ); 2264 2265 // Element alignment support. 2266 if ( elementDefinition.align ) 2267 { 2268 var align = elementDefinition.align; 2269 styles[ 'margin-left' ] = align == 'left' ? 0 : 'auto'; 2270 styles[ 'margin-right' ] = align == 'right' ? 0 : 'auto'; 2271 } 2272 2264 2273 for ( i in styles ) 2265 2274 styleStr.push( i + ':' + styles[i] ); … … 2392 2401 if ( elementDefinition && elementDefinition.padding != undefined ) 2393 2402 styles.push( 'padding:' + cssLength( elementDefinition.padding ) ); 2403 // In IE Quirks alignment has to be done on table cells. (#7324) 2404 if ( CKEDITOR.env.ie && CKEDITOR.env.quirks && children[ i ].align ) 2405 styles.push( 'text-align:' + children[ i ].align ); 2394 2406 if ( styles.length > 0 ) 2395 2407 html.push( 'style="' + styles.join('; ') + '" ' ); … … 2477 2489 if ( elementDefinition && elementDefinition.padding != undefined ) 2478 2490 styles.push( 'padding:' + cssLength( elementDefinition.padding ) ); 2491 // In IE Quirks alignment has to be done on table cells. (#7324) 2492 if ( CKEDITOR.env.ie && CKEDITOR.env.quirks && children[ i ].align ) 2493 styles.push( 'text-align:' + children[ i ].align ); 2479 2494 if ( styles.length > 0 ) 2480 2495 html.push( 'style="', styles.join( '; ' ), '" ' ); -
CKEditor/trunk/_source/plugins/liststyle/dialogs/liststyle.js
r6908 r6942 47 47 label : lang.type, 48 48 id : 'type', 49 style : 'width: 150px; margin: auto;', 49 align : 'center', 50 style : 'width:150px', 50 51 items : 51 52 [
Note: See TracChangeset
for help on using the changeset viewer.
