[wp-trac] [WordPress Trac] #26053: Auto-expand quick draft textarea
WordPress Trac
noreply at wordpress.org
Tue Dec 3 08:06:55 UTC 2013
#26053: Auto-expand quick draft textarea
-------------------------------------+------------------
Reporter: lessbloat | Owner:
Type: enhancement | Status: new
Priority: high | Milestone: 3.8
Component: Administration | Version:
Severity: minor | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------
Comment (by markjaquith):
[attachment:26053.6.diff] changes the following from @helen's .4 version:
* Sets some additional CSS properties on the clone element to deal with
long lines of text without spaces.
* Messes with `overflow-y` on the editor element to make sure scrollbars
never show when we're doing dynamic resizing.
* Cleans up `.css()` indenting.
* Gets rid of the animation. The animation causes multiline pastes to make
the content jump.
* Gets rid of the buffer line at the bottom. Not needed. We can instantly
resize, even on multiline pastes.
* Kills the resize handle that some browsers add, since we are handling it
ourselves.
* Runs the clone as `display: none` (Potentially faster? Saw someone
advocate this. Didn't seem to hurt).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26053#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list