Editor expand: add border to the Text editor resize helper, helps calculating the height in some cases. Fixes #29225
Built from https://develop.svn.wordpress.org/trunk@29593 git-svn-id: http://core.svn.wordpress.org/trunk@29367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
58752f91db
commit
488e2aa4cf
|
@ -386,6 +386,7 @@ td.plugin-title p {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
border: 1px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-fullscreen-wrap #content-textarea-clone {
|
.wp-fullscreen-wrap #content-textarea-clone {
|
||||||
|
|
|
@ -386,6 +386,7 @@ td.plugin-title p {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
border: 1px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-fullscreen-wrap #content-textarea-clone {
|
.wp-fullscreen-wrap #content-textarea-clone {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -276,6 +276,10 @@ jQuery( document ).ready( function($) {
|
||||||
getHeights();
|
getHeights();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( ! visual && type === 'resize' ) {
|
||||||
|
textEditorResize();
|
||||||
|
}
|
||||||
|
|
||||||
if ( visual ) {
|
if ( visual ) {
|
||||||
$top = $visualTop;
|
$top = $visualTop;
|
||||||
$editor = $visualEditor;
|
$editor = $visualEditor;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.0-beta4-20140824';
|
$wp_version = '4.0-beta4-20140825';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue