I have a custom atto editor plugin. There are multiple buttons in the plugin.
I know by default it sets the buttonName and title to this.title. Which is the $string['pluginname'] variable.
How do I set the name for the plugin, if I want it to be different from $string['pluginname']?
this.addButton({ icon: 'lightbulb', iconComponent: 'atto_styler', title: 'lightbulb_bullets', buttonName: 'lightbulb_bullets', tags: '.lightbulb-bullets', callback: this.toggleLightbulbBullets });
When hovering over the button on the editor, the title is:
"lightbulb_bullets, atto_styler"
atto_styler is the name of the plugin. I have the $string['lightbulb_bullets'] in my language file. Purged caches multiple times. Tried everything but can't seem to figure it out.
Does anyone know what is happening?