Can't paste image in Editor when using EditorPasteSettings

1 Answer 26 Views
Editor
Bob
Top achievements
Rank 1
Iron
Veteran
Iron
Bob asked on 12 May 2021, 05:58 PM

I am using the editorpastesettings:

<EditorSettings>
     <EditorPasteSettings ConvertMsLists="true"
                                           RemoveMsClasses="true"
                                           RemoveMsStyles="true"
                                           RemoveHtmlComments="true">
     </EditorPasteSettings>
</EditorSettings>

However, when I use these settings it is preventing me from pasting an image (not from a word document, just a screen grab) into the editor.

If I take out the EditorSettings, it works fine.  I'm not sure why any of these settings would (or should) prevent me from pasting an image into the editor?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 12 May 2021, 06:27 PM

Hi Bob,

Good catch. I made this page where you can Follow the fix and also find a workaround: https://feedback.telerik.com/blazor/1519372-adding-the-editorpastesettings-tag-breaks-image-pasting

Regards,
Marin Bratanov
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Tags
Editor
Asked by
Bob
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Marin Bratanov
Telerik team
Share this question
or