[wp-trac] [WordPress Trac] #34355: Editor: Cannot remove link if link text is wrapped in code tags

WordPress Trac noreply at wordpress.org
Sat Dec 19 20:40:54 UTC 2015


#34355: Editor: Cannot remove link if link text is wrapped in code tags
--------------------------+------------------------------
 Reporter:  jdgrimes      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:  4.3.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  ui
--------------------------+------------------------------
Changes (by azaozz):

 * component:  Editor => TinyMCE


Comment:

 Reproduced, also happens when several tags are wrapped in a link. This
 seems to be a bug in contentEditable (which executes the `unlink`
 command). Seems to happen because the selected element is not the link but
 (one of) the tags inside it.

 Perhaps this can be fixed in TinyMCE, will report upstream. In the
 meantime a workaround is to select the link plus some text (or space)
 outside of it, and then click "Unlink".

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34355#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list