Changeset 4839
- Timestamp:
- 12/29/09 15:18:14 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/_source/plugins/pastefromword/filter/default.js
r4838 r4839 258 258 return function( cssLength ) 259 259 { 260 if( cssLength .indexOf( '%' ) == -1)260 if( cssLengthRelativeUnit.test( cssLength ) ) 261 261 { 262 262 calculator.setStyle( 'width', cssLength ); … … 627 627 { 628 628 attrs.style = stylesFilter( 629 [ [ ( /^ width|height$/ ), null, convertToPx ] ] )( attrs.style ) || '';629 [ [ ( /^(:?width|height)$/ ), null, convertToPx ] ] )( attrs.style ) || ''; 630 630 } 631 631
Note: See TracChangeset
for help on using the changeset viewer.
