Skip to content

Commit

Permalink
fix(#49): id not copied in newer versions of electron
Browse files Browse the repository at this point in the history
  • Loading branch information
tessus committed Oct 9, 2021
1 parent 7a7d671 commit b2cd8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ joplin.plugins.register({
const selectedFolder = await joplin.workspace.selectedFolder();
folderId = selectedFolder.id;
}
navigator.clipboard.writeText(folderId);
await joplin.clipboard.writeText(folderId);

await joplin.commands.execute("editor.focus");
}
Expand Down

0 comments on commit b2cd8e2

Please sign in to comment.