You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the behavior
When you apply multiple formats to the text when using RichText. It doesn't always produce optimal HTML code. In many cases the order of application matters producing different HTML. In the case I recorded, it produces two links instead of one.
To Reproduce
Steps to reproduce the behavior:
Create a new post.
Type a few words in a paragraph.
Apply bold to one of the words.
Apply italics to the part of the bolded word.
Apply link to the full bolded word.
You should see something like the following when checking HTML source:
<p>My <strong><ahref="http://localhost:8888/?page_id=2">te</a><em><ahref="http://localhost:8888/?page_id=2">xt</a></em></strong> to test</p>
Expected behavior
Wrap text with only one link in all cases, no matter in what order formats get applied. The HTML should look like:
<p>My <ahref="http://localhost:8888/?page_id=2"><strong>te<em>xt</em></strong></a> to test</p>
Screenshots
Desktop (please complete the following information):
OS: macOS Mojave
Browser: Chrome
Version: 70
The text was updated successfully, but these errors were encountered:
Describe the behavior
When you apply multiple formats to the text when using
RichText
. It doesn't always produce optimal HTML code. In many cases the order of application matters producing different HTML. In the case I recorded, it produces two links instead of one.To Reproduce
Steps to reproduce the behavior:
bold
to one of the words.italics
to the part of the bolded word.link
to the full bolded word.Expected behavior
Wrap text with only one link in all cases, no matter in what order formats get applied. The HTML should look like:
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: