Opened 11 years ago
Last modified 11 years ago
#10911 closed Bug
Widgets: Keyboard events prevention while focused — at Initial Version
Reported by: | Marek Lewandowski | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.3 |
Component: | UI : Widgets | Version: | 4.3 Beta |
Keywords: | Cc: |
Description
Widgets: Keyboard events prevention while focused
since: 4.3beta (didn't check earlier) until major
Occurs in all browsers.
- open any image2 pluigin sample (i.e. plugins/image2/samples/image2.html)
- click on image (in order to focus it, blue outline should appear)
- press alt+f10
Expected result:
Toolbar should be focused.
Current result:
Focus stays at image widget.
Additional info:
- issue does not occurs within content editable.
- it also prevents lots of browser hotkeys, like chromium alt+d (address bar highlight).
- here's line which may be modified in order to solve the problem: https://github.com/ckeditor/ckeditor-dev/blob/major/plugins/widget/plugin.js#L2332
simple idea would be to add || ( CKEDITOR.ALT & keyCode )
But there still end user may experience some issue, with other browser hotkeys, i.e. in chromium based browsers pressing (just) F6 will cycle focus between browsers top ui elements, like address bar, bookmarks, extensions icons
Suggestion:
We may also add handling for tab key, for jumping to next element