I found a solution after a long time ...
- download source plugin
- define a toolbar without a "bullist", but with your own button "mylist"
- define button 'mylist', which will call the function of the source plugin (from the source list /plugin.min.js)
Full code:
tinymce.init({ plugins: ["lists"], //toolbar1: "bullist numlist", toolbar1: "mylist numlist", setup: function(editor) { editor.addButton('mylist', { text: '', //without text label icon: 'bullist', //use original icon tooltip: 'Bullet list', //tooltip, if you want onclick: function() { //call original plugin function tinymce.activeEditor.execCommand('InsertUnorderedList'); } }); }, });
source share