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

Link handling fixes #2668

Merged
merged 4 commits into from
Jul 5, 2022
Merged

Link handling fixes #2668

merged 4 commits into from
Jul 5, 2022

Conversation

mejo-
Copy link
Member

@mejo- mejo- commented Jul 4, 2022

No description provided.

@mejo- mejo- added the bug Something isn't working label Jul 4, 2022
@mejo- mejo- requested review from vinicius73 and max-nextcloud July 4, 2022 17:47
@mejo- mejo- force-pushed the fix/link_handling branch from 651c0c2 to 139043f Compare July 4, 2022 17:47
@mejo-
Copy link
Member Author

mejo- commented Jul 4, 2022

/compile amend

@max-nextcloud
Copy link
Collaborator

/rebase

mejo- added 4 commits July 5, 2022 03:50
We use a prosemirror plugin with the `handleClick` handler to handle
clicking on links, so we don't want the default browser link handling to
happen.

See earlier commit 5bf15b4 for
reference.

Signed-off-by: Jonas <jonas@freesources.org>
We only want our custom link handlers (either the default from Text app
or a further customized one, e.g. from Collectives app) to happen if the
first mouse button is used, Ctrl key is not pressed and the link points
to a local link.

Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@max-nextcloud max-nextcloud merged commit 99ed401 into master Jul 5, 2022
@delete-merged-branch delete-merged-branch bot deleted the fix/link_handling branch July 5, 2022 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants