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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change highlight color to red when findAll() method called

Thread ID:





151012 Jan 28,2020 08:31 AM UTC Apr 3,2020 12:04 PM UTC React - EJ 2 3
Tags: DocumentEditor
Asked On January 28, 2020 08:31 AM UTC

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

Harini Chellappa [Syncfusion]
Replied On 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. 

Harini C 

Harini Chellappa [Syncfusion]
Replied On 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. 

Harini C 

Harini Chellappa [Syncfusion]
Replied On 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 = {  
<DocumentEditorContainerComponent id="container" ref={(scope) => { this.container = scope; }} style={{ 'display': 'block', 'height': '590px' }} documentEditorSettings={this.settings} enableToolbar={true} locale='en-US'/>  


Harini C 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon