[wp-trac] [WordPress Trac] #31163: Cannot disable the text editor without auto expand breaking
WordPress Trac
noreply at wordpress.org
Wed Jan 28 17:02:04 UTC 2015
#31163: Cannot disable the text editor without auto expand breaking
--------------------------+-----------------------------
Reporter: iseulde | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.0
Severity: normal | Keywords:
Focuses: javascript |
--------------------------+-----------------------------
Test:
{{{
add_filter( 'wp_editor_settings', function( $settings, $id ) {
if ( $id === 'content' ) {
$settings['quicktags'] = false;
}
return $settings;
}, 10, 2 );
}}}
We're assuming both editors will be there, but plugins can disable one.
Additionally, the DFW button disappears.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31163>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list