[wp-trac] [WordPress Trac] #28328: Focus on editing, while editing
WordPress Trac
noreply at wordpress.org
Sat Jul 12 16:52:26 UTC 2014
#28328: Focus on editing, while editing
-------------------------------------+-------------------------------------
Reporter: markjaquith | Owner:
Type: task (blessed) | Status: new
Priority: high | Milestone: 4.0
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: ui-feedback ux-feedback | Focuses: ui, accessibility,
needs-testing has-patch | javascript, administration
-------------------------------------+-------------------------------------
Comment (by afercia):
hi,
one small thing:
I did find useful sometimes to select and copy the "Word count" and "Last
edited" details text in the info bar at the bottom of the editor. This
isn't possible anymore since the upgrade to TinyMCE 4, when the whole
"bar" (table element) became the resize "handle" and preventDefault() used
in post.js doesn't allow to select text. Previously, the handle was just
the small icon on the right (the last table cell #content-resize-handle)
and so that text was selectable. See what changed in #24067
Now that the resize handle is disabled it would be nice to allow text
selection again. See attached proposed patch.
A couple of CSS things for Distraction Free Mode:
1. on larger screens, as soon as you switch to DFW mode you will get the
horizontal scrollbar in your browser, see attached screenshot. That's
because the width of "#content-textarea-clone" is too large. If you play
with "Visual" and "Text" buttons the horizontal scrollbar disappears
because it gets calculated again but initially it's too large. I guess
"#content-textarea-clone" must be invisible but still have layout to run
calculations on its size and offset so it's hidden with visibility and not
with display: none. But in DFW mode it's probably safe to completely hide
it.
2. top padding on .mce-edit-area and .wp-editor-area should be reset when
in DFW mode. Sorry I didn't find a better solution than using !important.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28328#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list