Answers for "how add class to ckeditor image"

0

how add class to ckeditor image

editor.on('insertElement', function(event) {
	var element = event.data;
	if (element.getName() == 'img') {
		element.addClass('contentimage');
	}
});
Posted by: Guest on May-18-2021

Browse Popular Code Answers by Language