Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Opening a URL in default browser from plugin #8076

Closed
danielb2 opened this issue Apr 23, 2023 · 1 comment
Closed

[feature] Opening a URL in default browser from plugin #8076

danielb2 opened this issue Apr 23, 2023 · 1 comment
Labels
enhancement Feature requests and code enhancements high High priority issues plugins Anything related to Joplin's plugin system

Comments

@danielb2
Copy link
Contributor

issue

can't open default browser with url from within a joplin plugin

use case example

I'm writing a plugin to create a github gist from a note. After creating the gist, I'd like the browser to automatically open it and present it to the user.

references

@danielb2 danielb2 added the bug It's a bug label Apr 23, 2023
@laurent22 laurent22 added enhancement Feature requests and code enhancements high High priority issues plugins Anything related to Joplin's plugin system and removed bug It's a bug labels Apr 23, 2023
@danielb2
Copy link
Contributor Author

Caleb mentions using await joplin.commands.execute('openItem', url); here: https://discourse.joplinapp.org/t/how-to-open-browser-to-open-a-url-at-a-plugin/16957/6

which appears to work fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests and code enhancements high High priority issues plugins Anything related to Joplin's plugin system
Projects
None yet
Development

No branches or pull requests

2 participants