Pasting image from screenshot is not working when PasteCleanup plugin removed.


I set saveUrl on insertImageSettings so it works when I use image file on local pc like below.

화면 캡처 2022-08-22 141133.png

But it is not working when I want to using my screen shot directly. It always save image file using my DNS addres path like below.

화면 캡처 2022-08-22 141504.png


Why it works differently?


I found that it works when I provide 'PasteCleanup' plugin to editor. but I don't understand what 'PasteCleanup' do on clipboard image pasting and saving logic.



Please let me know how can I keep consistancy on save image logic.



1 Reply 1 reply marked as answer

VJ Vinitha Jeyakumar Syncfusion Team August 23, 2022 02:48 PM UTC

Hi Kyung,

We want to let you know that, while pasting an image into the Editor, it will save the image source from the clipboard. but while inserting an image into the editor, it will read the RTF content of the image to store in the specified location. To resolve the reported issue, we need to inject the PasteCleanup module.

Regards,
Vinitha

Marked as answer
Loader.
Up arrow icon