1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Chore: SideBar => Sidebar

This commit is contained in:
Laurent Cozic
2021-01-12 12:28:55 +00:00
parent e595e19c0d
commit 0f23277bfc
39 changed files with 87 additions and 83 deletions

View File

@@ -1,5 +1,5 @@
{
"name": "joplin-plugin-toggle-side-bars",
"name": "joplin-plugin-toggle-sidebars",
"version": "1.0.0",
"scripts": {
"dist": "webpack",

View File

@@ -1,8 +1,9 @@
import joplin from 'api';
import { ToolbarButtonLocation } from 'api/types';
joplin.plugins.register({
onStart: async function() {
await joplin.views.toolbarButtons.create('toggleSideBarButton', 'toggleSideBar', 'noteToolbar');
await joplin.views.toolbarButtons.create('toggleNoteListButton', 'toggleNoteList', 'noteToolbar');
await joplin.views.toolbarButtons.create('toggleSideBarButton', 'toggleSideBar', ToolbarButtonLocation.NoteToolbar);
await joplin.views.toolbarButtons.create('toggleNoteListButton', 'toggleNoteList', ToolbarButtonLocation.NoteToolbar);
},
});

View File

@@ -1,11 +1,11 @@
{
"manifest_version": 1,
"id": "org.joplinapp.plugins.ToggleSideBars",
"id": "org.joplinapp.plugins.ToggleSidebars",
"app_min_version": "1.6",
"version": "1.0.1",
"name": "Note list and side bar toggle buttons",
"description": "Adds buttons to toggle note list and side bar",
"description": "Adds buttons to toggle note list and sidebar",
"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"
"homepage_url": "https://github.com/laurent22/joplin/tree/dev/packages/plugins/ToggleSidebars",
"repository_url": "https://github.com/laurent22/joplin/tree/dev/packages/plugins/ToggleSidebars"
}