When an Image or a Table elements are being inserted into the content of the editor, the undo command should revert the insertion.