Can't transform embed to raw URL #16159
Labels
[Block] Embed
Affects the Embed Block
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
[Type] Enhancement
A suggestion for improvement.
Is your feature request related to a problem? Please describe.
I often will paste a URL into the editor while I'm working on a draft for a post. My intent is not to create an embed, but just to save that URL in my notes so that I can later use it as a link in a paragraph.
When I paste it in, though, it automatically gets turned into an embed, even if the oEmbed process fails (which seems to be at least half the time for WP posts). There's no way to transform it back to the raw URL, so I have to right-click to copy the url, then remove the Embed block, then add some arbitrary character to the start of a new line, then paste the link again (because the link is only transformed when it's on a line by itself).
I could avoid that by adding that arbitrary character before I paste the link in the first place, but I always forget to do that, because I naturally don't expect the editor to do something contrary to my intent, even though I've known about the automatic oEmbed feature forever, and even agree that it's very useful when I'm intending to embed something. The problem is that, when I'm pasting in a URL, my intent is to save it as a note much more often than when my intent is to embed it.
Describe the solution you'd like
I don't know if there's a way to solve the underlying problem (the editor incorrectly assumes that my intent is always to create an embed), but we could at least provide an easy way to recover from that, by having a toolbar button to transform embeds to their raw URL, similar to how you can transform a paragraph to a heading.
Related
#15102 is related, but I don't think this is a duplicate. I don't want to transform the block to a paragraph with a link, I want to transform it to a paragraph with the raw URL. If the anchor text for the link is the raw URL, then that'd probably be fine, but I wouldn't want the anchor text to be the title of the page that the URL references.
The text was updated successfully, but these errors were encountered: