WordPress.org

Make WordPress Core

Opened 10 months ago

#45706 new defect (bug)

Don't want paragraph block to forcefully convert pasted URL

Reported by: bshuchter Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0.1
Component: Editor Keywords:
Focuses: Cc:
PR Number:

Description

I'm creating a post. I want to paste a URL to a website, by itself, into a paragraph block, so that the URL displays on the front end of the site. No other text will appear in the paragraph. The paragraph block thinks it's an embed link and changes to an embed block, producing an error.

If I instead convert this block to custom HTML, I don't have the ability to use the link icon to create a link on the URL.

The workaround is to type a space into the paragraph block, so that the block recognizes it as text, then paste in the URL. After I link the URL using the link icon, I can delete the space, and it appears as I want it to. However, I don't want to force my client to use this workaround.

Is there a way to paste a URL into a paragraph block so that the block doesn't try to assume I don't want it to appear as a URL?

Change History (0)

Note: See TracTickets for help on using tickets.