1
0
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:
Helmut K. C. Tessarek 2021-01-08 10:36:37 -05:00 committed by GitHub
parent 3884ada760
commit 3626714403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -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');
},
});

View File

@ -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"
}
}