ho bisogno di aggiungere un altro menu accanto alla voce "Strumenti" giù in TinyMCE 4:TinyMCE 4 add menu a discesa per barra dei menu
La soluzione più vicina che ho trovato è stato questo:
// Adds a custom menu item to the editor that inserts contents when clicked
// The context option allows you to add the menu item to an existing default menu
tinymce.init({
...
setup: function(ed) {
ed.addMenuItem('example', {
text: 'My menu item',
context: 'tools',
onclick: function() {
ed.insertContent('Hello world!!');
}
});
}
});
Ma aggiunge solo un elemento al menu "Strumenti" già esistente.
Fantastico, questo è esattamente ciò di cui ho bisogno. Grazie molto! – Tomarz
................ – ghostCoder