WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#30539 closed enhancement (fixed)

Focus V2: TinyMCE keyboard shortcuts

Reported by: afercia Owned by: azaozz
Milestone: 4.1 Priority: normal
Severity: normal Version: 4.1
Component: Editor Keywords:
Focuses: ui, javascript Cc:

Description

Please consider to exclude TinyMCE keyboard shortcuts from triggering Focus V2, for example:

Ctrl+K
Ctrl+Z
Ctrl+Y
Alt+F8
Alt+F10
Alt+F11
etc.
don't trigger Focus.

All the Alt+Shift ones instead, seems they do trigger Focus, for example:

Alt+Shit+A
Alt+Shit+M
Alt+Shit+L
Alt+Shit+C
Alt+Shit+R
etc.

Attachments (1)

30539.patch (608 bytes) - added by azaozz 5 years ago.

Download all attachments as: .zip

Change History (4)

#1 @johnbillion
5 years ago

  • Milestone changed from Awaiting Review to 4.1

@azaozz
5 years ago

#2 @azaozz
5 years ago

The Alt+Shit+* shortcuts seem to be specifically allowed to trigger fade-out. Not sure why, perhaps @avryl will know more. Alternatively 30539.patch fixes this by preventing fading out on Ctrl and Alt+Shift.

#3 @azaozz
5 years ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to closed

In 30693:

Editor DFW v2: do not fade out on using keyboard shortcuts in TinyMCE (Alt+Shift+letter).
Fixes #30539.

Note: See TracTickets for help on using tickets.