Skip to content

Commit 64aecda

Browse files
committed
Removed comments and cleaned up code
1 parent 5572083 commit 64aecda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/php/editor.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ function enqueue_code_editor( string $type, array $extra_atts = [] ) {
6565
foreach ( [ 'indentUnit', 'tabSize' ] as $number_att ) {
6666
$atts[ $number_att ] = intval( $atts[ $number_att ] );
6767
}
68-
69-
// Remove fontsize from the options and add it as an inline style
68+
69+
// Remove fontSize from the options and add it as an inline style
7070
if ( isset( $atts['fontSize'] ) ) {
7171
$font_size = intval( $atts['fontSize'] );
72-
unset( $atts['fontSize'] );
72+
unset( $atts['fontSize'] );
7373
wp_add_inline_style( 'code-editor', ".CodeMirror { font-size: {$font_size}px !important; }" );
7474
}
7575

0 commit comments

Comments
 (0)