📅  最后修改于: 2022-03-11 15:00:03.003000             🧑  作者: Mango
editor.on('insertElement', function(event) {
var element = event.data;
if (element.getName() == 'img') {
element.addClass('contentimage');
}
});