Insert link with keyboard shortcut #1030
Closed
aj-foster
started this conversation in
Feature Requests
Replies: 2 comments
-
Thanks for the initiative, would love to collaborate on this |
Beta Was this translation helpful? Give feedback.
0 replies
-
For anyone who stumbles across this discussion, a first effort can be found here: #1052. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks 👋🏼
We're interested in enabling a keyboard shortcut for inserting a link (for example,
mod+k
). My intuition is that we'd like to call a function very similar to theonMouseDown
handler for the toolbar button fromlink-ui
. I'm happy to help with the implementation, just wanted to ask a few questions first:link-ui
,link
, or a separate package?link-ui
has very similar functionality already, but doesn't currently provide acreate...()
plugin.link
provides the plugin, but doesn't currently concern itself withgetLinkUrl
functions.link-ui
move intolink
? I could imagine a world in which theonMouseDown
handler inlink-ui
callspreventDefault()
but otherwise hands off the work to a function in thelink
package. But maybe you foresee an issue there.Thank you for all that you do!
Beta Was this translation helpful? Give feedback.
All reactions