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

Support callbacks for URLs #145

Open
VIPlearner opened this issue Nov 26, 2023 · 4 comments
Open

Support callbacks for URLs #145

VIPlearner opened this issue Nov 26, 2023 · 4 comments

Comments

@VIPlearner
Copy link

There needs to some sort of callback especially for links so that if users click on links we can trigger those callbacks to either open a browser or any app of choice
Currently when you add a link it just gets added as another block of text with a blue colour

@VIPlearner VIPlearner changed the title User unable to click link Support callbacks for URLs Nov 26, 2023
@MohamedRejeb
Copy link
Owner

MohamedRejeb commented Dec 3, 2023

Thanks for your feedback.
I'll add a callback for links, but now it opens the link in the browser if you use a RichText, but for the editor it doesn't make to make the link clickable, that's how it works for the most rich text editors.

@adambrangenberg
Copy link

Thanks for your feedback. I'll add a callback for links, but now it opens the link in the browser if you use a RichText, but for the editor it doesn't make to make the link clickable, that's how it works for the most rich text editors.

Hey, on Desktop it doesn't open it in the Browser

@MohamedRejeb
Copy link
Owner

I'm using Compose LocalUriHandler for opening the URL in the browser. Make sure that you have a default browser. Also, you should see the error in the logs if there's something wrong with opening the URL.

@adambrangenberg
Copy link

Hmm okay, it's probably an issue with my machine then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants