[wp-trac] [WordPress Trac] #26907: Distraction Free Writing mode no longer wakes up on mouse move unless it is in the toolbar

WordPress Trac noreply at wordpress.org
Tue Jan 28 03:29:23 UTC 2014


#26907: Distraction Free Writing mode no longer wakes up on mouse move unless it is
in the toolbar
--------------------------+-----------------------
 Reporter:  GregRoss      |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.9
Component:  TinyMCE       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------

Comment (by GregRoss):

 I've attached a patch that does three things:

 1. Brings back the old behaviour of 'waking' up DFW mode when the mouse is
 moved, but extending it to the entire screen (both the main doc and the
 TinyMCE iframe).  This will also capture browsers that don't execute
 proper touch events but instead translate them to mousemove events.

 2. Add touchstart/end event handlers (though not on the iframe, could
 probably be extended to it) to show the toolbar on start and hide it on
 end.

 3. Added a profile option to disable the above two behaviours and only
 'wake up' the toolbar when the mouse moves in to it.

 For your consideration... ;)

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


More information about the wp-trac mailing list