Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andymac4182 committed Apr 18, 2023
1 parent 5c42d77 commit 47c4bf9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions packages/obsidian/src/main.ts
Expand Up @@ -104,7 +104,7 @@ export default class ConfluencePlugin extends Plugin {
);

this.addCommand({
id: "app:adf-preview",
id: "adf-preview",
name: "Preview the current note rendered to ADF",
callback: () => this.adfPreview(),
hotkeys: [],
Expand Down Expand Up @@ -149,7 +149,7 @@ export default class ConfluencePlugin extends Plugin {
);

this.addCommand({
id: "obsidian-confluence-publish-current",
id: "publish-current",
name: "Publish Current File to Confluence",
checkCallback: (checking: boolean) => {
if (!this.isSyncing) {
Expand Down Expand Up @@ -191,7 +191,7 @@ export default class ConfluencePlugin extends Plugin {
});

this.addCommand({
id: "obsidian-confluence-publish-all",
id: "publish-all",
name: "Publish All to Confluence",
checkCallback: (checking: boolean) => {
if (!this.isSyncing) {
Expand Down Expand Up @@ -233,7 +233,7 @@ export default class ConfluencePlugin extends Plugin {
});

this.addCommand({
id: "obsidian-confluence-enable-publishing",
id: "enable-publishing",
name: "Enable publishing to Confluence",
editorCheckCallback: (
checking: boolean,
Expand Down Expand Up @@ -271,7 +271,7 @@ export default class ConfluencePlugin extends Plugin {
});

this.addCommand({
id: "obsidian-confluence-disable-publishing",
id: "disable-publishing",
name: "Disable publishing to Confluence",
editorCheckCallback: (
checking: boolean,
Expand Down Expand Up @@ -312,7 +312,6 @@ export default class ConfluencePlugin extends Plugin {
}

async onunload() {
this.app.workspace.detachLeavesOfType(ADF_VIEW_TYPE);
}

async loadSettings() {
Expand Down

0 comments on commit 47c4bf9

Please sign in to comment.