selObj = window.getSelection();
text = selObj.toString();
//await this.quickAddApi.utility.getClipboard();
text = await decodeURIComponent(text)
this.quickAddApi.utility.setClipboard(text);
//console.log("main " + text);
return text;
Last active
November 14, 2021 09:37
-
-
Save emisjerry/155b85175f2a24994a9f05b6d2f455c3 to your computer and use it in GitHub Desktop.
QuickAdd Capture: Decode URL #obsidian #quickadd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment