Support ability to turn a link into a block #2490
danielrearden
started this conversation in
Ideas & Enhancements
Replies: 1 comment
-
|
re-linking #1206 |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
We have Embed blocks that render URLs as individual blocks (basically either link previews or more involved components for certain sites). In our link menu, we give users the option to embed a link, which removes the link from the content and turns it into an Embed block. In other words, we take the block where the link is located and split it into 3 blocks:
Describe the solution you'd like
The props for the link menu should expose both the block for the link and the location of the link inside the block's content.
Describe alternatives you've considered
We've implemented this on our end, but it relies on text matching to identify the block and link in question. This is very error prone, because the same URL could appear multiple times in the same document.
Additional context
Demo of the feature https://www.loom.com/share/769b2e7cc0504bffb3236fd6cc6d3c00?sid=1dc0ff87-5c20-4fd1-88b4-a9b296520171
Bonus
Beta Was this translation helpful? Give feedback.
All reactions