Allow first and remove after is also good but prevent in the first place is good
3 Answers, 1 is accepted
answered on 16 Dec 2019, 01:56 PM
I am not sure what is the exact requirement. Could you provide us with more information on the specific case? Is your goal to remove the images from an imported document, or you want to prevent the users from inserting images?
I am looking forward to your reply.
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.
When handling the event in case the command is of type InsertPictureCommand the event could be canceled, the case with the PasteCommand is a little bit different. You will need to interrupt the paste command to perform some changes before adding the content inside the clipboard of the control.