Skip to content

Allow custom links handling#34

Open
roundedrectangle wants to merge 2 commits into
Pretty-SFOS:mainfrom
roundedrectangle:patch-1
Open

Allow custom links handling#34
roundedrectangle wants to merge 2 commits into
Pretty-SFOS:mainfrom
roundedrectangle:patch-1

Conversation

@roundedrectangle

Copy link
Copy Markdown
Contributor

I noticed it isn't possible to add a custom link handler, this PR adds this functionality.

@ichthyosaurus

Copy link
Copy Markdown
Member

I think this PR is missing the actual functionality, isn't it? It adds the setting and it renames the default function but it doesn't check for the setting when the function is called.

openOrCopyUrl() shouldn't be renamed because it is public API and renaming would be a breaking change.

@roundedrectangle

roundedrectangle commented Jun 21, 2026

Copy link
Copy Markdown
Contributor Author

Ok, you're right, it was indeed incomplete, thanks (I forgot to recheck everything before submitting the PR, sorry about that!).

As for openOrCopyUrl(), making it a signal shouldn't break the API, as you can still call it like before, and with defaultLinkActions set to true (the default) it would behave the same.

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

Successfully merging this pull request may close these issues.

2 participants