Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tooltip text for the plugin button is incorrect #2

Open
shazron opened this issue Jun 3, 2021 · 1 comment
Open

tooltip text for the plugin button is incorrect #2

shazron opened this issue Jun 3, 2021 · 1 comment

Comments

@shazron
Copy link

shazron commented Jun 3, 2021

Expected

The tooltip for the plugin button should be Note Statistics

Actual

The tooltip for the plugin button is My Test Command 1

Screenshot

Screenshot 2021-06-03 at 11 28 58 PM

@kai452
Copy link

kai452 commented Aug 14, 2021

Hi,

index.ts:
// Registering commands
await joplin.commands.register({
name: 'viewDialog',
label: 'Note Statistics',
iconName: 'fas fa-info',
execute: async () => {
joplin.views.dialogs.open(handle);
},
});

// adds command to the note toolbar
await joplin.views.toolbarButtons.create(
  'viewDialog',
  'viewDialog',
  ToolbarButtonLocation.EditorToolbar
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants