Skip to content

Commit

Permalink
Pause for code
Browse files Browse the repository at this point in the history
  • Loading branch information
jxpeng98 committed Sep 19, 2024
1 parent 651592d commit 6b9290d
Show file tree
Hide file tree
Showing 4 changed files with 675 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/NotionCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export default class RibbonCommands {
let commandName = `Share to ${dbDetails.fullName} (${dbDetails.abName})`; // or use a translated name

let editorCallback: (editor: Editor, view: MarkdownView) => Promise<void>;

if (dbDetails.format === 'next') {
editorCallback = async (editor, view) => {
await uploadCommandNext(this.plugin, this.plugin.settings, dbDetails, this.plugin.app);
Expand Down
Loading

0 comments on commit 6b9290d

Please sign in to comment.