RTE text copied copies the color of the background

After I write first "hello" and then I copy that text and paste it right next to it, it looks normal while I'm using the dark theme.

the output:


You can see that the pasted/second "HELLOOOO" has the colored background, so copy paste somehow adopted background color of RTE as part of its css property, and I dont want that. It is not noticeable in the dark theme, however in my light theme it looks awful.

output in my light theme:

 

Is there a way of avoiding background color adaption? Or a way to fix this?


2 Replies 1 reply marked as answer

DP Dimitrije Prosevski July 2, 2021 03:05 PM UTC

Solved with:



pasteCleanupSettings = { plainText: true };

Marked as answer

VJ Vinitha Jeyakumar Syncfusion Team July 5, 2021 07:46 AM UTC

Hi Dimitrije, 
 
 
Greetings from Syncfusion support.  
 
We are glad that you found the solution for your requirement on your end. Please let us know if you need further assistance.  
 
Regards, 
Vinitha 


Loader.
Up arrow icon