Opened 6 years ago
Closed 6 years ago
#47716 closed defect (bug) (worksforme)
Split links are created when creating links that contain HTML elements.
Reported by: | cwpnolen | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.2.2 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
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
- Enter "Lorem ipsum dolor sit amet, consectetur adipiscing elit" into a "Paragraph" block.
- Select "dolor" and make the text bold.
- Select "ipsum dolor sit" and make it link to "https://www.google.com"
- Publish or update the post.
- 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.
Attachments (1)
Change History (2)
#1
@
6 years ago
- Milestone Awaiting Review deleted
- Resolution set to worksforme
- Status changed from new to closed
Thank you for the bug report, @cwpnolen!
This bug appears to be fixed in the Gutenberg plugin, so the fix will be included in WordPress 5.3.
We appreciate the testing and bug reporting, please let us know of any other bugs you run into. 🙂
Note: See
TracTickets for help on using
tickets.
Screenshot of rendered HTML