3
커스텀 버튼에 기존 아이콘을 사용할 수 있습니까? (가 아닌 이미지)작은 MCE 커스텀 버튼의 기존 아이콘 사용
나는이 시도했다, 그러나 그것은 작동하지 않습니다
tinymce.init({
...
toolbar: 'example'
setup: function(ed) {
ed.addButton('example', {
title: 'My title',
image: '../js/tinymce/plugins/example/img/example.gif',
classes: 'mce-ico mce-i-image',
onclick: function() {
ed.insertContent('Hello world!!');
}
});
}
});