Skip to content

Don't try to intercept links inside contenteditable#472

Open
vpzomtrrfrt wants to merge 1 commit intopreactjs:mainfrom
vpzomtrrfrt:ignore-contenteditable
Open

Don't try to intercept links inside contenteditable#472
vpzomtrrfrt wants to merge 1 commit intopreactjs:mainfrom
vpzomtrrfrt:ignore-contenteditable

Conversation

@vpzomtrrfrt
Copy link
Copy Markdown
Contributor

Links inside contenteditable don't seem to do anything, which makes sense in an editing context, but the global handler from preact-router makes them active again. This change avoids that by ignoring contenteditable links.

@rschristian
Copy link
Copy Markdown
Member

rschristian commented Jul 29, 2024

In case you missed it in the readme:

preact-router unfortunately no longer sees active development!

Thanks for the PR, but we won't be making additional releases here.

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