When i create new buttons it doesn't has specific class, all buttons i have created it has this class mce-i-none, is there a way to set specific classs to new created buttons?
Hi @mobadawy, what code do you use to add this button? Looks like you specified an image URL for the icon. If you want to add icon with CSS, remove that URL. Then the class is created from the button name, the first arg you pass to editor.addButton(), or you can specify it in the icon property. Example https://github.com/tinymce/tinymce/blob/master/js/tinymce/plugins/image/plugin.js#L392
Hi @mobadawy, what code do you use to add this button? Looks like you specified an image URL for the icon. If you want to add icon with CSS, remove that URL. Then the class is created from the button name, the first arg you pass to editor.addButton(), or you can specify it in the
iconproperty. Example https://github.com/tinymce/tinymce/blob/master/js/tinymce/plugins/image/plugin.js#L392