Feature: Populate <LinkInput /> with the current href
See original GitHub issueDescription
Usecase: When a user clicks on an existing anchor link (<a href="...">...</a>
), the <LinkInput />
box should populate with the current value to allow for editing.
Possible Implementation
Right now I am trying to implement this myself in my own custom link modal component, but I can’t figure out how to get the current mark’s attributes. Figuring this out right now, and may post an update later when I do. @ifiokjr Do you have any advice on how to do this?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Insert current URL into a link using JS and HTML
This should do it: <script> baseurl="http://www.facebook.com?" function buildURL(item) { item.href=baseurl+window.location.href; ...
Read more >Linking button to a URL on onclick event in html - Plus2net
So here are some examples of using buttons to link different pages. HTML button with onClick event with location to link between web...
Read more >RouterLink - Angular
The input that you provide to the link is treated as a delta to the current URL. For instance, suppose the current URL...
Read more >How to Create a "COPY LINK" Input Field with HTML, CSS ...
GET THE SOURCE CODE https://codepen.io/dcode-software/pen/eYMYXrKIn today's video we'll be creating a "Copy Link" input field using HTML, ...
Read more >Solved: In a dashboard, how do I create a hyperlink that d...
Solved: Hi there, I have a dashboard with a text box in it. When I click on a hyperlink on the same dashboard,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Narrator He did not.
Oh yes, thanks. I’m not sure why it didn’t close automatically.