We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Change highlight color to red when findAll() method called

I need to change the highlight color when findAll() method found the search text.

3 Replies

HC Harini Chellappa Syncfusion Team January 29, 2020 12:36 PM UTC

Hi Vinay, 

We are sorry to let you know that currently document editor doesn’t provide any customization option on highlighting the search results. 

We will check further on this and share you the details by Jan 31, 2020. 

Regards, 
Harini C 



HC Harini Chellappa Syncfusion Team February 4, 2020 05:00 AM UTC

Hi Vinay, 

##customize the highlight color  

We have logged the feature request for your requirement. We will include it in our upcoming EJ2 patch release which is scheduled on Feb 12,2020. Once included will update you. 

Regards, 
Harini C 



HC Harini Chellappa Syncfusion Team April 3, 2020 12:04 PM UTC

Hi Vinay, 

We are glad to announce that our 2020 Vol 1 main release is rolled out successfully. We have included option to customize search highlight color.   

Please upgrade your packages to latest version to make use of this option.  


Release notes  
  

Sample Code  
  
 this.settings = {  
        searchHighlightColor:'red'  
};  
  
<DocumentEditorContainerComponent id="container" ref={(scope) => { this.container = scope; }} style={{ 'display': 'block', 'height': '590px' }} documentEditorSettings={this.settings} enableToolbar={true} locale='en-US'/>  
  
  

Regards, 

Harini C 


Loader.
Live Chat Icon For mobile
Up arrow icon