The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
KSKaliswaran Shanmuga Sundaram Syncfusion Team January 27, 2015 01:34 PM UTC
Hi Duyvt,
Thanks for
using Syncfusion products.
Query: “Can I search/replace text in Rich Text Editor
? For example, I want to search [date] and replace by current day. Can
I select each character in content from the beginning to the end”.
Currently in our RTE there is no built-in option is available to achieve
your requirement. But we can achieve it in the sample level.
We can achieve your requirement by using a API called “customTools” present inside the “tools ” API. It is used to define our custom action. In that we
need to define the button component for find and replace option. In the click
event of button component we need handle the find and replace function.
Please refer following JS customTools sample for more detailed information.
If you need of a sample for this function, please let us know. We are ready
to provide the custom sample at earliest.
Please let us
know if you have further queries.
Regards,
Kaliswaran S
DUduyvtJanuary 28, 2015 02:07 AM UTC
Thanks for quick reply,
I can add "Find/Replace" button into toolbar. But I don't know the way to handle the find and replace function. Could you please give me an example.
Thanks,
KSKaliswaran Shanmuga Sundaram Syncfusion Team January 28, 2015 02:05 PM UTC
Hi Duyvt,
Thanks for
your update.
Query : I can
add "Find/Replace" button into toolbar. But I don't know the way to
handle the find and replace function. Could you please give me an example.
We have prepared the sample based on
your requirement. You can also download the attached sample from the following
location.
In the above sample, we have used our Rich Text Editor “customTool” API to handle the find and
replace action. By using “customTool”
API we have created a button like “Find”.
In the button click event we have called the find and replace function.
Please let me know if you have further queries in the provided sample or
any other further enhancement in the sample.
Regards,
Kaliswaran S
Need More Help?
Get personalized assistance from our support team.