Ticket #5018: 5018_2.patch

File 5018_2.patch, 802 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/find/dialogs/find.js

     
    6767
    6868        var findDialog = function( editor, startupPage )
    6969        {
    70                 // Style object for highlights.
    71                 var highlightStyle = new CKEDITOR.style( editor.config.find_highlight );
     70                // Style object for highlights, must be applied innermost to avoid conflicting with ordinary text color styles. (#5018)
     71                var highlightStyle =
     72                                new CKEDITOR.style( CKEDITOR.tools.extend( { childRule : function(){ return false; } },
     73                                editor.config.find_highlight ) );
    7274
    7375                /**
    7476                 * Iterator which walk through the specified range char by char. By
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy