Skip to content

Commit

Permalink
Fix: Can't disable Underline and Clear format
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Mar 7, 2024
1 parent 08327e1 commit 1f91486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/class-enqueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ private function create_editor_config() {
}
}

$config['underlineActive'] = get_option( 'rtex_underline_active', true );
$config['clearFormatActive'] = get_option( 'rtex_clear_format_active', true );
$config['underlineActive'] = (bool) get_option( 'rtex_underline_active', true );
$config['clearFormatActive'] = (bool) get_option( 'rtex_clear_format_active', true );

return $config;
}
Expand Down

0 comments on commit 1f91486

Please sign in to comment.