[wp-trac] [WordPress Trac] #33301: Create and edit links inline

WordPress Trac noreply at wordpress.org
Sun Mar 13 17:19:35 UTC 2016


#33301: Create and edit links inline
-------------------------------------+-------------------------------------
 Reporter:  iseulde                  |       Owner:  azaozz
     Type:  task (blessed)           |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.5
Component:  Editor                   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch dev-         |     Focuses:  ui, accessibility,
  feedback                           |  javascript, administration
-------------------------------------+-------------------------------------

Comment (by afercia):

 Thanks @azaozz :) While testing keyboard accessibility, noticed something
 about "Undo" and "Redo". They perfectly work when clicking on the "Undo"
 and "Redo" buttons.
 By the way, when using the associated shortcuts "Cmd/Ctrl+Z" and
 "Cmd/Ctrl+Y" they don't always work. To reproduce:
 - insert a link and then edit it again, change the link and apply
 - use "Cmd/Ctrl+Z" to undo
 - at some point the keyboard focus will be inside the input field and
 shortcuts don't work there
 Same when re-doing. Sorry I can't help so much, know very little about
 TinyMCE. I've tried to call `editor.undoManager.undo()` and
 `editor.undoManager.redo()` on the `keydown` event on the input field and
 it worked. There are probably better ways to do it though :)

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


More information about the wp-trac mailing list