-
Notifications
You must be signed in to change notification settings - Fork 87
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/hide bubble when in menu #5529
Commits on Mar 20, 2024
-
refactor(links): move linkBubble plugin to plugins/links
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 710b350 - Browse repository at this point
Copy the full SHA 710b350View commit details -
refactor(links): pass editor via options to LinkBubblePluginView
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for e6049b0 - Browse repository at this point
Copy the full SHA e6049b0View commit details -
refactor(links): untangle LinkBubblePluginView from editor
It is a prosemirror plugin view. No need for it to know tiptap data structures Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for d871277 - Browse repository at this point
Copy the full SHA d871277View commit details -
refactor(links): use prosemirror tr and state to track clicks
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for e4340f8 - Browse repository at this point
Copy the full SHA e4340f8View commit details -
refactor(links): move click handling into link bubble plugin
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 90b99be - Browse repository at this point
Copy the full SHA 90b99beView commit details -
refactor(links): only hand link mark to updateTooltip
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 356509b - Browse repository at this point
Copy the full SHA 356509bView commit details -
refactor(links): introduce setActiveLink function
Also rename `clicked` state to `active`. We will also use it for activating via keypress Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for e30c78c - Browse repository at this point
Copy the full SHA e30c78cView commit details -
fix(links): also update if active was unset
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for d956fdd - Browse repository at this point
Copy the full SHA d956fddView commit details -
refactor(links): operate on state with
linkNodeFromSelection
In appendTransation callbacks there is no view available. Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for e02c5ad - Browse repository at this point
Copy the full SHA e02c5adView commit details -
refactor(links): move linkNodeFromSelection into helper
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for c1e4bd8 - Browse repository at this point
Copy the full SHA c1e4bd8View commit details -
refactor(links): handle selection changes in plugin
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 96097aa - Browse repository at this point
Copy the full SHA 96097aaView commit details -
refactor(links): use hideLinkBubble command for esc
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 4a3165b - Browse repository at this point
Copy the full SHA 4a3165bView commit details -
fix(links): simplify updateTooltip and handle active null
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for ed923f4 - Browse repository at this point
Copy the full SHA ed923f4View commit details -
fix(links): remove special handling for clicked and focus
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 4bc7586 - Browse repository at this point
Copy the full SHA 4bc7586View commit details -
fix(links): handle esc in DOMEvents rather than prop
The `handleKeyDown` prop does not work in read only mode. Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 7fe10f9 - Browse repository at this point
Copy the full SHA 7fe10f9View commit details -
fix(links) handle linkNodeFromSelection returning false
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for d79b67c - Browse repository at this point
Copy the full SHA d79b67cView commit details -
enh(links): close link bubble when opening preview toggle
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 4f5277e - Browse repository at this point
Copy the full SHA 4f5277eView commit details -
fix(lint): add missing jsdoc comments to new files
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for d582f38 - Browse repository at this point
Copy the full SHA d582f38View commit details -
docs(preview): improve jsdocs for markdownit preview plugin
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 322a752 - Browse repository at this point
Copy the full SHA 322a752View commit details -
refactor(links): only get mark from selection
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 8e78cb7 - Browse repository at this point
Copy the full SHA 8e78cb7View commit details -
refactor(links): get active link from selection
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 385b246 - Browse repository at this point
Copy the full SHA 385b246View commit details -
fix(links): show bubble with cursor on the end of the link
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for c2fd1e5 - Browse repository at this point
Copy the full SHA c2fd1e5View commit details -
tests(links): ignore link bubble when reading link text
The link bubble now also gets rendered when the cursor is behind the link. `cy.get` will always start at the root of the doc. So it also found the link inside the link bubble. Use `.find` on the content instead as the link bubble is outside of that. Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for fb0a8ce - Browse repository at this point
Copy the full SHA fb0a8ceView commit details