Changeset 5934
- Timestamp:
- 10/13/10 07:08:50 (3 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/pastefromword/filter/default.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r5928 r5934 45 45 Fixed issues:</p> 46 46 <ul> 47 <li><a href="http://dev.ckeditor.com/ticket/5399">#5399</a> : Lists pasted from Word do not maintain their nesting.</li> 47 48 <li><a href="http://dev.ckeditor.com/ticket/6377">#6377</a> : FF width and height are not shown for smiley in Image properties dialog.</li> 48 49 <li><a href="http://dev.ckeditor.com/ticket/5237">#5237</a> : English text in dialogs' title was flipped when using RTL language (office2003 and v2 skins).</li> -
CKEditor/trunk/_source/plugins/pastefromword/filter/default.js
r5714 r5934 119 119 }; 120 120 121 var cssLengthRelativeUnit = /^( \d[.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz){1}?/i;121 var cssLengthRelativeUnit = /^([.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz){1}?/i; 122 122 var emptyMarginRegex = /^(?:\b0[^\s]*\s*){1,4}$/; // e.g. 0px 0pt 0px 123 123 … … 220 220 // Be able to deal with component/short-hand form style. 221 221 var values = margin.split( ' ' ); 222 margin = values[ 3 ] || values[ 1 ] || values [ 0 ];222 margin = CKEDITOR.plugins.pastefromword.utils.convertToPx( values[ 3 ] || values[ 1 ] || values [ 0 ] ); 223 223 margin = parseInt( margin, 10 ); 224 224
Note: See TracChangeset
for help on using the changeset viewer.
