Make WordPress Core

Opened 4 years ago

Closed 12 months ago

#20237 closed enhancement (wontfix)

Default editor needs support for non-DFW fullscreen mode

Reported by: danblaker Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.3.1
Component: Editor Keywords:
Focuses: Cc:


There's currently no way to change whether or not to use distraction-free-writing (DFW) mode for the default WYSIWYG editor. When inserting a new editor via the wp_editor() function, you can pass 'dfw' => false as one of the settings arguments; but in 'edit-form-advanced.php', the editor is hard-coded to use DFW.

Many people prefer to make layout and styling adjustments in full-screen view, so it seems strange to have this preference hard-coded. Recommend adding an option to Settings > Writing to select between DFW and classic full-screen.

Change History (6)

comment:1 @azaozz4 years ago

  • Keywords close added

You can always add the old fullscreen button to the editor on the edit post screen with a "micro-plugin":

add_filter('mce_buttons', 'my_mce_buttons');
function my_mce_buttons($buttons) {
	$buttons[] = 'fullscreen';
	return $buttons;

comment:2 @Converting2wp3 years ago

  • Cc Converting2wp added

comment:3 @Converting2wp3 years ago

As noted in http://wordpress.org/support/topic/full-screen-editing-with-formatting-buttons
ticket #21197 points out that ALT-Shift-G brings up the TinyMCE fullscreen editor ("classic full-screen" in this ticket's description) in v. 3.4.1

In 3.4.1, your code above (thanks!) works to put a second full screen editor button on the toolbar. The second button looks just like the first, both have the tooltip Alt-Shift-G, the one to the left of the kitchen sink button brings up Distraction Free Writing (DFW), and the one to the right brings up TinyMCE fullscreen editor.

I tested the micro-plugin code in 3.5-alpha-21466, and noticed two changes:

  • The tooltip on the left-most fullscreen button is now Alt-Shift-W (and, indeed, Alt-Shift-W works to toggle DFW mode - presumably the fix from #21197)
  • Alt-Shift-G no longer works to bring up the TinyMCE full screen editor (but clicking the button *does* work)

I guess I don't understand the apparent decision to deprecate the classic full screen editor. Adding back at least the Alt-Shift-G method of access would be very helpful to those of us who use the edit panel as editors (not just authors), particularly those who are using relatively small screens.

But this ticket's request of a way to providing an option to access the "classic full screen" would address this in a more transparent way (though I'd probably put it on the user profile, rather than make it a site-wide setting).

See also #21048.

comment:4 @azaozz3 years ago

This can be improved by using the old fullscreen icon for the MCE fullscreen button and always enabling the Alt + Shift + G shortcut (as long as DFW is not open).

Not sure adding yet another checkbox in the user profile is a good idea. This would be better as a plugin.

comment:5 @gonzalorti3 years ago

I agree entirely. I need a fullscreen with all the editing buttons (in eather visual and text mode). It would be a huge improvement for many people. To give the choice between both kinds of fullscreens seems to me the best idea.

comment:6 @DrewAPicture12 months ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

@azaozz outlined the best method for re-adding the button as a well as a fairly straightforward method for toggling it on. In favor of decisions not options, I'm going to go with wontfix.

Note: See TracTickets for help on using tickets.