Widgets: Add missing `wp-editor-area` CSS class for `textarea` in the TinyMCE-extended Text widget to ensure proper styles are applied.
Removes extra border around TinyMCE-wrapped `textarea` and removes gap at bottom due to lack of `display:block`. Props johnjamesjacoby, westonruter. See #35243. Fixes #40755. git-svn-id: https://develop.svn.wordpress.org/trunk@40675 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
556e793ed6
commit
8eade12087
|
@ -196,7 +196,7 @@ class WP_Widget_Text extends WP_Widget {
|
|||
</p>
|
||||
<p>
|
||||
<label for="{{ elementIdPrefix }}text" class="screen-reader-text"><?php esc_html_e( 'Content:' ); ?></label>
|
||||
<textarea id="{{ elementIdPrefix }}text" class="widefat text" style="height: 200px" rows="16" cols="20"></textarea>
|
||||
<textarea id="{{ elementIdPrefix }}text" class="widefat text wp-editor-area" style="height: 200px" rows="16" cols="20"></textarea>
|
||||
</p>
|
||||
</script>
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue