Ticket #3959: 3959_2.patch
File 3959_2.patch, 1.5 KB (added by , 14 years ago) |
---|
-
_source/plugins/pastefromword/dialogs/pastefromword.js
23 23 + '</script><style>body { margin: 3px; height: 95%; } </style><body></body>', 24 24 cleanWord : function( editor, html, ignoreFont, removeStyles ) 25 25 { 26 // Remove comments [SF BUG-1481861]. 27 html = html.replace(/<\!--[\s\S]*?-->/g, '' ) ; 28 26 29 html = html.replace(/<o:p>\s*<\/o:p>/g, '') ; 27 30 html = html.replace(/<o:p>[\s\S]*?<\/o:p>/g, ' ') ; 28 31 … … 88 91 // Remove Tags with XML namespace declarations: <o:p><\/o:p> 89 92 html = html.replace(/<\/?\w+:[^>]*>/gi, '' ) ; 90 93 91 // Remove comments [SF BUG-1481861].92 html = html.replace(/<\!--[\s\S]*?-->/g, '' ) ;93 94 94 html = html.replace( /<(U|I|STRIKE)> <\/\1>/g, ' ' ) ; 95 95 96 96 html = html.replace( /<H\d>\s*<\/H\d>/gi, '' ) ; -
CHANGES.html
138 138 <li><a href="http://dev.fckeditor.net/ticket/3837">#3837</a> : Brazilian Portuguese.</li> 139 139 </ul> 140 140 </li> 141 <li><a href="http://dev.fckeditor.net/ticket/3959">#3959</a> : Pasting styled text from word result in content lost.</li> 141 142 </ul> 142 143 <h3> 143 144 CKEditor 3.0 RC</h3>