mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
actually toggle something ;-) (#4309)
* actually toggle something ;-) * make ids a bit longer
This commit is contained in:
parent
3884ada760
commit
3626714403
@ -2,6 +2,7 @@ import joplin from 'api';
|
||||
|
||||
joplin.plugins.register({
|
||||
onStart: async function() {
|
||||
console.info('Test plugin started!');
|
||||
await joplin.views.toolbarButtons.create('toggleSideBarButton', 'toggleSideBar', 'noteToolbar');
|
||||
await joplin.views.toolbarButtons.create('toggleNoteListButton', 'toggleNoteList', 'noteToolbar');
|
||||
},
|
||||
});
|
||||
|
@ -2,10 +2,10 @@
|
||||
"manifest_version": 1,
|
||||
"id": "org.joplinapp.plugins.ToggleSideBars",
|
||||
"app_min_version": "1.6",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"name": "Note list and side bar toggle buttons",
|
||||
"description": "Adds buttons to toggle note list and side bar",
|
||||
"author": "Laurent Cozic",
|
||||
"homepage_url": "https://github.com/laurent22/joplin/tree/dev/packages/plugins/ToggleSideBars",
|
||||
"repository_url": "https://github.com/laurent22/joplin/tree/dev/packages/plugins/ToggleSideBars"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user