Content deleted Content added
Polygnotus (talk | contribs) No edit summary |
Polygnotus (talk | contribs) No edit summary |
||
Line 139:
if (favoriteTemplates && favoriteTemplates.length > 0) {
// First, add the section
$textarea.wikiEditor( 'addToToolbar', {
sections: {
'favorite-templates': {
label: 'Favorite Templates'
}
}
} );
// Create the tools object for the buttons
const templateTools = {};
Line 159 ⟶ 169:
}
//
$textarea.wikiEditor( 'addToToolbar', {
section: '
groups: {
'
▲ label: 'Favorite Templates',
tools: templateTools
}
|