An error occurred while fetching the assigned milestone of the selected merge_request.
Issue #3470570: Unable to save text format without enabling Markdown filter
Compare changes
+ 12
− 7
@@ -176,6 +176,9 @@ class ParserConfigurationForm extends FormBase implements FilterAwareInterface,
@@ -176,6 +176,9 @@ class ParserConfigurationForm extends FormBase implements FilterAwareInterface,
public function processSubform(array &$element, FormStateInterface $form_state, array &$complete_form) {
$form_state->set('markdownSubformParents', ($parents = isset($element['#parents']) ? $element['#parents'] : []));
@@ -222,14 +225,16 @@ class ParserConfigurationForm extends FormBase implements FilterAwareInterface,
@@ -222,14 +225,16 @@ class ParserConfigurationForm extends FormBase implements FilterAwareInterface,
$form_state->set('markdownGroup', ($group = implode('][', array_merge($parents, ['vertical_tabs']))));