[wp-trac] [WordPress Trac] #36569: Remove Link button in Visual Editor needs to be disabled when cursor isn't over link

WordPress Trac noreply at wordpress.org
Mon Apr 18 05:41:34 UTC 2016


#36569: Remove Link button in Visual Editor needs to be disabled when cursor isn't
over link
---------------------------+-----------------------------
 Reporter:  ahortin        |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Editor         |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:  accessibility  |
---------------------------+-----------------------------
 In previous WP versions, when your cursor wasn't sitting on top of a link
 in the Visual Editor, the //Remove link// icon in the toolbar was
 disabled, indicating that it was unavailable. When the cursor was placed
 over a link, it would then become available.

 It's now showing as enabled all the time, even when your cursor is not on
 a link. This indicates, wrongly, that there is some action that it can
 perform.

 As can be seen in the following pic, the //Remove link// icon is the same
 colour as the //Insert/edit link// icon.

 https://cloudup.com/cTXFPpj4eLF

 Looking at the //Redo// button, it has the class `mce-disabled` added to
 its containing div, changing the icon to a light grey, indicating that
 it's not available. The //Remove link// icon should operate in the same
 way (which is how it used to work).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36569>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list