Skip to content
Snippets Groups Projects

3469035: Parse as boolean use_default_markers value in form submit

Merged alex baron requested to merge issue/ckeditor5_plugin_pack-3469035:1.2.x into 1.2.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -280,7 +280,7 @@ class Highlight extends CKEditor5PluginDefault implements CKEditor5PluginConfigu
public function submitConfigurationForm(array &$form, FormStateInterface $form_state): void {
$values = $form_state->cleanValues()->getValues();
$this->configuration['options'] = $values['custom_marker_wrapper'] ?? [];
$this->configuration['use_default_markers'] = (bool) $values['use_default_markers'];
$this->configuration['use_default_markers'] = (bool) $values['use_default_markers'];
}
/**
Loading