-
I'm trying to reproduce the way Google Docs handles their links in that when a user moves the caret within a link, a balloon menu opens below the link with an input field that allows them to edit the url. I have a custom inline element I defined via a plugin and the behavior I would like is when the user clicks the button to turn their current selection into that custom element, after wrapping the selection in that element it will then open the bubble menu with an input field to accept some meta data. I would also like this same bubble menu to open whenever the user has their cursor within one of these elements. Is this something I can handle with the BalloonToolbar component? Any advice on a general strategy for accomplishing this or an example I could look at? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Am looking for the same solution. Would like to change the link icon to unlink when a link is present and also open a hovering toolbar when the caret is on a link. |
Beta Was this translation helpful? Give feedback.
-
You can now own the component from v22 #2472 |
Beta Was this translation helpful? Give feedback.
You can now own the component from v22 #2472