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
close icon

How to disable image drag into rich text editor


I have a rich text editor where I don't have the option to add images in the toolbar however when I drag an image into the editor it's still being added and I couldn't find a setting to disable that.

Could you let me know if there is some way to do it?


1 Reply

VY Vinothkumar Yuvaraj Syncfusion Team December 15, 2022 04:06 PM UTC

Hi Ezequiel Bertran,

You can prevent drag-and-drop action by setting the actionBegin event argument cancel value to true. Please find the documentation below for your reference.

Documentation : https://ej2.syncfusion.com/angular/documentation/rich-text-editor/image/#prevent-drag-and-drop-action



Live Chat Icon For mobile
Up arrow icon