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

WordPress Trac noreply at wordpress.org
Tue Jul 2 12:43:12 UTC 2019


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

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 This seems to work properly in RichText in the block editor. As it is a
 conenteditable behaviour that's not fixed upstream, not sure what we can
 do in WP about it.

 The "proper way" to unlink is to select some text around the link, then it
 works regardless of any other elements inside the `<a>` tag.

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


More information about the wp-trac mailing list