-
Notifications
You must be signed in to change notification settings - Fork 91
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 bubble menu to preview and edit links #5158
Commits on Jan 30, 2024
-
feat(editor): Add link view bubble to preview, edit and open links
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f750a82 - Browse repository at this point
Copy the full SHA f750a82View commit details -
feat(paragraph): Don't show link previews
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d14558b - Browse repository at this point
Copy the full SHA d14558bView commit details -
refactor(link): Improve readability of clickHandler function
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for da24829 - Browse repository at this point
Copy the full SHA da24829View commit details -
refactor(RichText): remove option to disable Link extension
This option is not used anyway. We always use the Link extension. Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df2e5c3 - Browse repository at this point
Copy the full SHA df2e5c3View commit details -
feat(editor): Refactor link click handlers
New link click behaviour: * Link left clicks without Ctrl/Meta open link bubble (Fixes: #3691) * Link left clicks with Ctrl/Meta open link in new tab * Link middle clicks open link in new tab * Link middle clicks on Linux don't paste content (Fixes: #2198) * No more custom open link handler in editor Implementation details: * Moved link click handler plugins back into Link mark class. * Added 'data-md-href' attribute to a-elements in DOM, to be used in onClick handlers. Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bbee8a0 - Browse repository at this point
Copy the full SHA bbee8a0View commit details -
fix(LinkBubble): Prevent update race condition in read-only in Chrome
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc13b01 - Browse repository at this point
Copy the full SHA dc13b01View commit details -
chore(LinkBubble): Remove code to customize link click handling
We no longer allow custom link click handlers in Text. Instead, the reference widgets for link previews have to implement their own click handlers. Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 648cf20 - Browse repository at this point
Copy the full SHA 648cf20View commit details -
test(cypress): Fix link tests with link bubble
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a81916 - Browse repository at this point
Copy the full SHA 9a81916View commit details -
fix(LinkBubble): Use private variables for LinkBubbblePluginView class
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3702138 - Browse repository at this point
Copy the full SHA 3702138View commit details -
fix(LinkBubble): Restore selection after updating the link
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f7da38 - Browse repository at this point
Copy the full SHA 9f7da38View commit details -
fix(LinkBubble): Improved blur event handler registration
* Clicking outside the bubble always hides it * Clicking inside the bubble never hides it Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 07217ad - Browse repository at this point
Copy the full SHA 07217adView commit details -
fix(Link): Don't open link bubble for anchor links, jump to anchor di…
…rectly Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60c1711 - Browse repository at this point
Copy the full SHA 60c1711View commit details -
fix(LinkBubble): Allow to close link bubble with Escape
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a5911b8 - Browse repository at this point
Copy the full SHA a5911b8View commit details -
fix(LinkBubble): Hide bubble after 100ms delay
Should allow Cypress to click on it before blur event happens. Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa673ab - Browse repository at this point
Copy the full SHA aa673abView commit details -
fix(LinkBubble): Add some padding and border radius
Signed-off-by: Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b73181a - Browse repository at this point
Copy the full SHA b73181aView commit details