Skip to content

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

Signed-off-by: Max <max@nextcloud.com>
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 <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
@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
@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

3 participants