Editor expand: add border to the Text editor resize helper, helps calculating the height in some cases. Fixes #29225
git-svn-id: https://develop.svn.wordpress.org/trunk@29593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
78b5ccd55c
commit
fa1b34ac78
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue