[wp-trac] [WordPress Trac] #47716: Split links are created when creating links that contain HTML elements.

WordPress Trac noreply at wordpress.org
Tue Jul 16 21:30:23 UTC 2019


#47716: Split links are created when creating links that contain HTML elements.
--------------------------+-----------------------------
 Reporter:  cwpnolen      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  5.2.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When creating a link that contains partial text that is italic, bold or
 contains a superscript or subscript content the rendered HTML has multiple
 links instead of one.

 **Steps to Reproduce**
 1. Enter "Lorem ipsum dolor sit amet, consectetur adipiscing elit" into a
 "Paragraph" block.
 2. Select "dolor" and make the text bold.
 3. Select "ipsum dolor sit" and make it link to "https://www.google.com"
 4. Publish or update the post.
 5. View the front-end of the site and hover over each work.
 ''Notice each word is its own link instead of being a single link''

 When doing similar steps in the "Classic" block or in the TinyMCE editor,
 the links are not split.

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


More information about the wp-trac mailing list