Skip to content

Commit 39f3e55

Browse files
hide alternate simple editor checkbox when a simple editor is active
1 parent b560a74 commit 39f3e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/Visualizer/Render/Page/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ class="dashicons dashicons-lock"></span></h2>
390390
<div>
391391
<p class="viz-group-description"><?php echo sprintf( __( 'You can manually edit the chart data using the %s editor.', 'visualizer' ), VISUALIZER_PRO ? 'spreadsheet like' : 'simple' ); ?></p>
392392
<?php if ( ! VISUALIZER_PRO ) { ?>
393-
<p class="viz-group-description"><input type="checkbox" id="simple-editor-type" value="textarea"><label for="simple-editor-type"><?php _e( 'Use text area editor instead', 'visualizer' ); ?></label></p>
393+
<p class="viz-group-description simple-editor-type"><input type="checkbox" id="simple-editor-type" value="textarea"><label for="simple-editor-type"><?php _e( 'Use text area editor instead', 'visualizer' ); ?></label></p>
394394
<?php } ?>
395395
<input type="button" id="editor-chart-button" class="button button-primary "
396396
value="<?php _e( 'View Editor', 'visualizer' ); ?>" data-current="chart"

0 commit comments

Comments
 (0)