Please include any relevant error messages, screenshots, and troubleshooting youâve already tried.
If this has to do with your website, what framework and version are you using (Next.js, Astro, Svelte, etc.)?
There is an issue when using a tel: link, it get removed when saving the record
(Recommended) Whatâs the URL of the record or model in question?
Being able to see the issue in your real project is you for very helpful for troubleshooting. If you donât provide the URL upfront, weâll often have to ask you for it anyway, which just slows down our response time for you.
If youâre concerned about privacy, you can email us at support@datocms.com instead of posting here.
Actually, this seems to be an issue with the text selection, rather than the URI itself. Could you please just click on the hyperlink, like this, instead of selecting it with a drag?
That should let you reliably edit the link every time.
[EDIT: This was incorrect. See following post instead.]
The underlying issue wasnât that there was anything wrong with the hyperlink, but that you encountered an edge state when youâŚ
Clicked elsewhere in the text field. Quickly (within a second or so) selected the text. The debouncing system didnât realize that you were selecting something that was already a link, so when you click the link button, itâs adding a new one instead of editing the existing one
Iâll let the devs know about that issue, separately. But if you just click on the hyperlink, it will hopefully work for you every time.
We have a preliminary fix for this under review now. Iâll let you know once it passes code review and gets deployed.
The underlying issue is that the toolbar buttons (like the hyperlink) werenât getting properly notified on mouse leave events. So when you click quickly and the mouse leaves the textbox, the link button doesnât know to check to see if your selection is already a hyperlink, and so assumes youâre creating a new one (which is why it looked like the existing one was gone⌠it was still there all along, but that button wasnât seeing your selection properly and so assumed you were creating a new one).
If you click the hyperlink instead of dragging, you can avoid this issue for now. But it should be fixed soon.