[wp-trac] [WordPress Trac] #59162: Link not completely deleted in Firefox
WordPress Trac
noreply at wordpress.org
Mon Aug 21 16:16:43 UTC 2023
#59162: Link not completely deleted in Firefox
--------------------------+------------------------------
Reporter: dawasi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Description changed by sabernhardt:
Old description:
> **Steps to reproduce**
> 1. Create a new page
> 2. Inserat a classic editor block
> 3. Enter "Link1" and "Link2" in separate paragraphs and link them to
> https://link1.tld and https://link2.tld. The resulting code should look
> like this:
> {{{
> <p><a href="https://link1.tld">Link1</a></p>
> <p><a href="https://link2.tld">Link2</a></p>
> }}}
> 4. Click on "Save" to close the block and reopen it afterwards
> 5. Start by marking the word "Link1" from the back, without clicking in
> the word first.
> 6. Press the Delete key on the keyboard. The text will be deleted, but
> the link will remain.
> 7. Press the Delete key again. The empty line will be deleted and the
> previously not completely deleted link will be applied to the text
> "Link2". Thus, Link2 no longer points to https://link2.tld but
> https://link1.tld.
>
> **Expected result**
> Link is completely deleted in step 6.
>
> **Affected browsers**
> Firefox (tested in version 116 on Windows 10 and 11)
>
> **Test environment**
> WordPress 6.3 with theme Twenty Twenty-Three 1.2 on PHP 8.1, no plugins
> installed
New description:
**Steps to reproduce**
1. Create a new page
2. Insert a classic editor block
3. Enter "Link1" and "Link2" in separate paragraphs and link them to
`https://link1.tld` and `https://link2.tld`. The resulting code should
look like this:
{{{
<p><a href="https://link1.tld">Link1</a></p>
<p><a href="https://link2.tld">Link2</a></p>
}}}
4. Click on "Save" to close the block and reopen it afterwards
5. Start by marking the word "Link1" from the back, without clicking in
the word first.
6. Press the Delete key on the keyboard. The text will be deleted, but the
link will remain.
7. Press the Delete key again. The empty line will be deleted and the
previously not completely deleted link will be applied to the text
"Link2". Thus, Link2 no longer points to `https://link2.tld` but
`https://link1.tld`.
**Expected result**
Link is completely deleted in step 6.
**Affected browsers**
Firefox (tested in version 116 on Windows 10 and 11)
**Test environment**
WordPress 6.3 with theme Twenty Twenty-Three 1.2 on PHP 8.1, no plugins
installed
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59162#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list