Follow useCommandsButtons. pattern createCommandButtonSet
Use ProviderContext or just set a singleton. (research why/which)
Register icon, label, description { commandManager.createButton( commands.getCommand('formatAlignLeftToggle'), CommandButtonType.TOOLBAR ) }
Register factory for each type of Command Register configuration for each key
When registering to a component also
Follow useCommandsButtons. pattern createCommandButtonSet
Use ProviderContext or just set a singleton. (research why/which)
Register icon, label, description { commandManager.createButton( commands.getCommand('formatAlignLeftToggle'), CommandButtonType.TOOLBAR ) }
Register factory for each type of Command Register configuration for each key
When registering to a component also