Ticket #3959: 3959.patch

File 3959.patch, 1.1 KB (added by Garry Yao, 15 years ago)
  • _source/plugins/pastefromword/dialogs/pastefromword.js

     
    2727                        html = html.replace(/<o:p>[\s\S]*?<\/o:p>/g, '&nbsp;') ;
    2828
    2929                        // Remove mso-xxx styles.
    30                         html = html.replace( /\s*mso-[^:]+:[^;"]+;?/gi, '' ) ;
     30                        html = html.replace( /\s*mso-[^:]+:[^;'"]+;?/gi, '' ) ;
    3131
    3232                        // Remove margin styles.
    3333                        html = html.replace( /\s*MARGIN: 0cm 0cm 0pt\s*;/gi, '' ) ;
  • CHANGES.html

     
    138138                        <li><a href="http://dev.fckeditor.net/ticket/3837">#3837</a> : Brazilian Portuguese.</li>
    139139                        </ul>
    140140                </li>
     141                <li><a href="http://dev.fckeditor.net/ticket/3959">#3959</a> : Pasting styled text from word result in content lost.</li>
    141142        </ul>
    142143        <h3>
    143144                CKEditor 3.0 RC</h3>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy