[wp-trac] [WordPress Trac] #45706: Don't want paragraph block to forcefully convert pasted URL

WordPress Trac noreply at wordpress.org
Wed Dec 19 14:06:33 UTC 2018


#45706: Don't want paragraph block to forcefully convert pasted URL
--------------------------+-----------------------------
 Reporter:  bshuchter     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  5.0.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45706>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list