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

need lower case

Hi team

I am looking forward to implement lower case button to convert selected text from upper case to lower case, after the text has been converted, the selected text should be on selection as shown below


syncfusion provides a default method for lower case called .toLowerCase but it was not working properly as per my requirement as mentioned above


I have tried it in a customized way as shown below




it works fine but it removes existing format


for example :-


if the text is with bold and if I try to convert it to lower case, It converts to lower case but removes bold

can you please help me on fixing this

thank you






1 Reply

SK Selvaprakash Karuppusamy Syncfusion Team March 15, 2023 04:02 PM UTC

Hi Vijay,


The Syncfusion document editor does not provide a default method to convert to lowercase.


"AllCaps" is a property, similar to "bold" and "italic," that is assigned to text. When this property is applied, the text is rendered based on the assigned value, but it does not replace the original value of the text (i.e. from lowercase to uppercase).


Please refer to the attached video for your reference.


Regards,

Selvaprakash K


Attachment: media1_dc600411.zip

Loader.
Live Chat Icon For mobile
Up arrow icon