Ticket #3891: 3891.patch

File 3891.patch, 1.4 KB (added by Garry Yao, 11 years ago)
  • _source/plugins/styles/plugin.js

     
    11811181                // retrieving its final format.
    11821182                var temp = new CKEDITOR.dom.element( 'span' );
    11831183                temp.setAttribute( 'style', unparsedCssText );
    1184                 return temp.getAttribute( 'style' );
     1184                var styleText = temp.getAttribute( 'style' );
     1185                // IE will leave a single semicolon when failed to parse the style text.(#3891)
     1186                return styleText == ';' ? '' : styleText;
    11851187        }
    11861188
    11871189        function applyStyle( document, remove )
  • CHANGES.html

     
    145145                <li><a href="http://dev.fckeditor.net/ticket/3951">#3951</a> : Reset size and lock ratio options were not accessible in Image dialog.</li>
    146146                <li><a href="http://dev.fckeditor.net/ticket/3921">#3921</a> : Fixed Container scroll issue on IE7.</li>
    147147                <li><a href="http://dev.fckeditor.net/ticket/3940">#3940</a> : Fixed list operation doesn't stop at table.</li>
     148                <li><a href="http://dev.fckeditor.net/ticket/3891">#3891</a> : [IE] Fixed 'automatic' font color doesn't work.</li>
    148149        </ul>
    149150        <h3>
    150151                CKEditor 3.0 RC</h3>
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy