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

Fix/5522 no link preview toggle for anchor links #5544

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

max-nextcloud
Copy link
Collaborator

@max-nextcloud max-nextcloud commented Mar 21, 2024

📝 Summary

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests
  • Documentation is not required

This makes the check for `can().setTextSelection()` a lot easier
as we do not need to change the selection to be within the link.

Signed-off-by: Max <[email protected]>
@max-nextcloud max-nextcloud force-pushed the fix/5522-no-link-preview-toggle-for-anchor-links branch from fca964c to 2f19e41 Compare March 21, 2024 14:59
@max-nextcloud max-nextcloud self-assigned this Mar 21, 2024
@max-nextcloud
Copy link
Collaborator Author

design team proposed to always show the menu but only allow toggling when possible - however this would apply to all paragraphs now - seems a little to much right now. So only showing 3 dot when possible to toggle for now.

@juliusknorr juliusknorr merged commit dbc2af1 into main Mar 21, 2024
59 checks passed
@juliusknorr juliusknorr deleted the fix/5522-no-link-preview-toggle-for-anchor-links branch March 21, 2024 19:11
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.

Link preview: toggle should be hidden if link preview is not possible
2 participants