#21197 closed defect (bug) (fixed)
There are two diffrent full screen editors
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | TinyMCE | Version: | 3.4.1 |
| Severity: | normal | Keywords: | |
| Cc: | navjotjsingh@… |
Description
In the WP editor there is a full screen button. It has shortcut ALT+SHIFT+G. When the button is pressed it shows a different full screen editor then when the shortcut is used.
I tried this on multiple 3.4.1 installations, one of them had no plugins to interfere.
I'm not sure if this is a bug, maybe it is intended.
If so can someone explain why?
Attachments (1)
Change History (27)
comment:2
SergeyBiryukov — 10 months ago
I think I've found a related bug:
- Press Alt + Shift + G.
- In the opened window, press "Toggle fullscreen mode" button. Nothing happens.
- Press Alt + Shift + G once again. The DFW editor shows up.
- "Exit fullscreen" link doesn't work. There's an error message in JS console:
Error: edd is undefined Source File: wp-includes/js/tinymce/plugins/wpfullscreen/editor_plugin_src.js?ver=3541-21229 Line: 31
@Sergey I also saw that but first I wanted to make sure it was a bug
Currently there are several problems with the shortcuts in the editors. One is that Firefox uses Alt + Shift + letter for the accesskey HTML attribute and it's no longer possible to overwrite/prevent that default. Another is that in the latest version TinyMCE has different/new API for handling key strokes (still working out few bugs there).
Thinking it would be best to redo all custom shortcuts we add in TinyMCE avoiding all browser limitations even if they would be different for different browsers (the shortcuts are already different for MacOS and Windows).
comment:5
SergeyBiryukov — 10 months ago
Related: ticket:17992:10
- Owner set to azaozz
- Resolution set to fixed
- Status changed from new to closed
In [21266]:
- Component changed from Editor to TinyMCE
- Milestone changed from Awaiting Review to 3.5
comment:8
SergeyBiryukov — 10 months ago
- Resolution fixed deleted
- Status changed from closed to reopened
comment:2 is still an issue.
Tested in Firefox 13, Chrome 20, IE 8, Opera 12. In Opera, a blank window with a scrollbar appears in step 3 instead of the DFW editor.
- Resolution set to fixed
- Status changed from reopened to closed
In [21272]:
comment:10
azaozz — 10 months ago
- Resolution fixed deleted
- Status changed from closed to reopened
In some languages Alt + letter is used regularly to type characters like ç (Alt+C), ł (Alt+l), ż (Alt+z), etc.
In that terms I'm not sure what shortcuts can be used for the editor buttons. Alt + Shift + letter works in Chrome, IE and Opera but doesn't work in Firefox (it triggers the "accesskey" attributes regardless of whether the element is visible or not).
The only key combination left is Ctrl + Alt + letter (Command + Option + letter on Mac), however that may run into keystroke conflicts too.
comment:11
azaozz — 10 months ago
For now thinking we should revert to Alt + Shift + letter for Chrome and use Ctrl + Alt + letter (Command + Option + letter) in Firefox for the custom editor shortcuts.
In the long term perhaps we can use the "Keyboard Shortcuts" checkbox in the user profile to turn on/off the shortcuts not only for moderating comments but also for the editor and any other place we may use them as well.
comment:12
azaozz — 10 months ago
In [21359]:
comment:13
azaozz — 10 months ago
- Resolution set to fixed
- Status changed from reopened to closed
In [21415]:
comment:14
miqrogroove — 8 months ago
#21933 was marked as a duplicate.
comment:15
follow-up:
↓ 16
SergeyBiryukov — 8 months ago
- Resolution fixed deleted
- Status changed from closed to reopened
TinyMCE help still lists Alt + Shift + G shortcut for non-DFW fullscreen mode:
http://core.trac.wordpress.org/browser/trunk/wp-includes/js/tinymce/wp-mce-help.php?rev=21545#L216
However, unless 'wpfullscreen' plugin is manually disabled via tiny_mce_before_init filter, the shortcut is not registered (since [21272]).
Perhaps the shortcut should still work if 'wpfullscreen' is loaded but not active at the moment. Or should just be removed from help.
comment:16
in reply to:
↑ 15
azaozz — 8 months ago
Replying to SergeyBiryukov:
Think best would be to remove the TinyMCE's fullscreen from the default config. Opened #21976 for that.
comment:17
miqrogroove — 8 months ago
Something missing from the discussion so far is the "fullscreen" button in the HTML tab. That button opens DFW. So if a button is being removed from TinyMCE it might make sense to remove it in both places. Or were you fixing the existing button(s)?
comment:18
navjotjsingh — 8 months ago
- Cc navjotjsingh@… added
comment:19
follow-up:
↓ 20
helenyhou — 7 months ago
What's left to do here? I see #21976 for removing the TinyMCE fullscreen plugin. Anything else?
SergeyBiryukov — 7 months ago
comment:20
in reply to:
↑ 19
SergeyBiryukov — 7 months ago
Replying to miqrogroove:
Something missing from the discussion so far is the "fullscreen" button in the HTML tab. That button opens DFW. So if a button is being removed from TinyMCE it might make sense to remove it in both places. Or were you fixing the existing button(s)?
The button on the Visual tab also opens DFW. What's being removed here is TinyMCE's fullscreen plugin (which has "Alt + Shift + G" shortcut), not the DFW button.
Replying to helenyhou:
What's left to do here?
21197.patch replaces TinyMCE's fullscreen shortcut in the help window with the one for DFW.
comment:21
miqrogroove — 7 months ago
Is it possible to hook up Alt + Shift + G for DFW? That would make a lot more sense to me than removing it. That was how I found DFW in the first place, along with its many related keyboard shortcuts.
comment:22
SergeyBiryukov — 7 months ago
DFW has its own shortcut, Alt + Shift + W.
comment:23
miqrogroove — 7 months ago
Alt + Shift + W does not work, version 3.4.2. Is it a trunk only feature?
comment:24
SergeyBiryukov — 7 months ago
comment:25
azaozz — 6 months ago
- Resolution set to fixed
- Status changed from reopened to closed
comment:26
azaozz — 6 months ago
In 22394:

Confirmed. Looks like alt+shift+g brings up the TinyMCE fullscreen editor instead of the WordPress fullscreen (distraction-free) editor - not sure what the right command is to bind to that key combo instead, if there is one, or else I'd try patching it :)