$settings =
apply_filters( 'wp_editor_settings',
$settings,
$editor_id );
$set =
wp_parse_args( $settings,
array
( // Disable autop if the current post has blocks in it.
'wpautop' => !
has_blocks(),
'media_buttons' => true,
'default_editor' => '',
'drag_drop_upload' => false,
'textarea_name' =>
$editor_id,
'textarea_rows' => 20,
'tabindex' => '',
'tabfocus_elements' => ':prev,:next',
'editor_css' => '',
'editor_class' => '',
'teeny' => false,
'_content_editor_dfw' => false,