Editor: better resizing for text editor

* Use `scrollHeight` to resize the text editor.
* Don't scroll the cursor into view when under the text editor's toolbar, it
  involves cloning the content which is quite slow.

Props iseulde, azaozz.

See #36482.


Built from https://develop.svn.wordpress.org/trunk@37596


git-svn-id: http://core.svn.wordpress.org/trunk@37564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ella Iseulde Van Dorpe
2016-05-30 20:32:30 +00:00
parent 54700d4ea6
commit 5502219779
7 changed files with 21 additions and 93 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-alpha-37595';
$wp_version = '4.6-alpha-37596';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.