Search code examples
webformssyncfusion

Syncfusion RTE duplicates image on paste


The problem is when I copy and paste an image from "Paint" to the Syncfusion RTE it duplicates that image for some reason.

Using ej1 Version=18.3450.0.35 in Asp Net Web Forms

I've tried to update Syncfusion to the latest version but it didn't help.

Checked the clipboard and it has only one file, as expected.

Replicated that in the official Synfusion Demo: https://asp.syncfusion.com/demos/web/richtexteditor/inlinetoolbar.aspx

Works well in another Syncfusion demo: https://asp.syncfusion.com/demos/web/richtexteditor/paste-cleanup.aspx

I've tried to put the same RTE as in the second (working) demo but it doesn't work for me.

Any ideas will be appreciated!!!

.aspx file

enter image description here

c# RTE initialization and tools

enter image description here


Solution

  • Fixed by removing 'html' from the 'style' section in the RTE innerHTML.

    enter image description here