I’m trying to rename items in a menubar in tinyMce Editor so I can translate them. I managed to change her title, but not the sub-items like undo or redo.
tinymce.init({
selector: 'textarea', // change this value according to your HTML
menu: {
file: {title: 'Arquivo', items: 'newdocument'},
edit: {title: 'Editar', items: 'undo redo | cut copy paste pastetext | selectall'},
insert: {title: 'Inserir', items: 'link media | template hr'},
view: {title: 'Visualizar', items: 'visualaid'},
format: {title: 'Formatar', items: 'bold italic underline strikethrough superscript subscript | formats | removeformat'},
table: {title: 'Tabela', items: 'inserttable tableprops deletetable | cell row column'},
tools: {title: 'Ferramentas', items: 'spellchecker code'}
}
});
If anyone knows what to do it would be of great help.