It depends on what you want. Due to the fact that you cannot ban this element using valid_elements and child_elements, you have to go in other ways.
Case 1 You do not want the user to enter this type of image in a folder.
You will need to use the paste plugin and set the paste_pre parameter
paste_preprocess : function(pl, o) { window.console && console.log('Object', o); window.console && console.log('Content:', o.content);
Case 2 You want the images to be filtered before they are saved to the database.
You can use the tinymce setting in conjunction with onSave to get rid of them.
From what you describe, it seems you need case 1.
source share