2c2 < index f68274ddc6..c4ee725bdf 100644 --- > index 7a8dcb56c4..d42e4beda7 100644 24c24 < index abe7693f98..5e4896b1ba 100644 --- > index 02fa4cd0f1..06d2188501 100644 27c27,36 < @@ -417,7 +417,16 @@ public function provider() { --- > @@ -133,7 +133,7 @@ protected function setUp(): void { > $basic_html_editor_with_media_embed->setSettings($settings); > $basic_html_editor_with_media_embed->save(); > > - $new_value = str_replace('', '', $current_value); > + $new_value = str_replace('', '', $current_value); > $basic_html_format_with_any_data_attr = $basic_html_format; > $basic_html_format_with_any_data_attr['name'] .= ' (with any data-* attribute on images)'; > $basic_html_format_with_any_data_attr['format'] = 'basic_html_with_any_data_attr'; > @@ -431,7 +431,16 @@ public function provider() { 45c54 < @@ -432,13 +441,13 @@ public function provider() { --- > @@ -446,13 +455,13 @@ public function provider() { 61c70 < @@ -452,13 +461,13 @@ public function provider() { --- > @@ -466,13 +475,13 @@ public function provider() { 77c86 < @@ -469,10 +478,10 @@ public function provider() { --- > @@ -483,10 +492,10 @@ public function provider() { 90c99 < @@ -488,7 +497,7 @@ public function provider() { --- > @@ -503,7 +512,7 @@ public function provider() { 99c108 < @@ -507,7 +516,15 @@ public function provider() { --- > @@ -519,7 +528,14 @@ public function provider() { 108c117,118 < + ['']), --- > + [''], > + ), 110,112c120 < + 'ckeditor5_heading' => $basic_html_test_case['expected_ckeditor5_settings']['plugins']['ckeditor5_heading'], < + 'ckeditor5_language' => $basic_html_test_case['expected_ckeditor5_settings']['plugins']['ckeditor5_language'], < + ], --- > + ] + $basic_html_test_case['expected_ckeditor5_settings']['plugins'], 116c124 < @@ -537,7 +554,7 @@ public function provider() { --- > @@ -549,7 +565,7 @@ public function provider() { 119c127 < 'The following plugins were enabled to support specific attributes that are allowed by this text format: Alignment ( for tag: <p> to support: class with value(s): text-align-center, text-align-justify), Align center ( for tag: <p> to support: class with value(s): text-align-center), Justify ( for tag: <p> to support: class with value(s): text-align-justify).', --- > 'The following plugins were enabled to support specific attributes that are allowed by this text format: Alignment ( for tag: <p> to support: class with value(s): text-align-center, text-align-justify).', 125c133,155 < @@ -556,7 +573,10 @@ public function provider() { --- > @@ -564,12 +580,19 @@ public function provider() { > array_slice($basic_html_test_case['expected_ckeditor5_settings']['toolbar']['items'], 10), > ), > ], > - 'plugins' => $basic_html_test_case['expected_ckeditor5_settings']['plugins'], > + 'plugins' => [ > + 'ckeditor5_sourceEditing' => [ > + 'allowed_tags' => array_merge( > + $basic_html_test_case['expected_ckeditor5_settings']['plugins']['ckeditor5_sourceEditing']['allowed_tags'], > + [''], > + ), > + ], > + ] + $basic_html_test_case['expected_ckeditor5_settings']['plugins'], > ], > 'expected_superset' => $basic_html_test_case['expected_superset'], > 'expected_fundamental_compatibility_violations' => $basic_html_test_case['expected_fundamental_compatibility_violations'], > 'expected_messages' => array_merge($basic_html_test_case['expected_messages'], [ > - "This format's HTML filters includes plugins that support the following tags, but not some of their attributes. To ensure these attributes remain supported by this text format, the following were added to the Source Editing plugin's Manually editable HTML tags: <a hreflang> <blockquote cite> <ul type> <ol start type> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>.", > + "This format's HTML filters includes plugins that support the following tags, but not some of their attributes. To ensure these attributes remain supported by this text format, the following were added to the Source Editing plugin's Manually editable HTML tags: <a hreflang> <blockquote cite> <ul type> <ol start type> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img loading>.", > ]), > ]; > > @@ -582,7 +605,7 @@ public function provider() { 129,133c159,160 < - [''], < + [ < + '', < + '', < + ], --- > - [''], > + [''], 137,138c164 < @@ -564,7 +584,7 @@ public function provider() { < 'expected_superset' => $basic_html_test_case['expected_superset'], --- > @@ -591,7 +614,7 @@ public function provider() { 140,143c166,170 < 'expected_messages' => array_merge($basic_html_test_case['expected_messages'], [ < - "This format's HTML filters includes plugins that support the following tags, but not some of their attributes. To ensure these attributes remain supported by this text format, the following were added to the Source Editing plugin's Manually editable HTML tags: <a hreflang> <blockquote cite> <ul type> <ol start type> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <drupal-media data-caption>.", < + "This format's HTML filters includes plugins that support the following tags, but not some of their attributes. To ensure these attributes remain supported by this text format, the following were added to the Source Editing plugin's Manually editable HTML tags: <a hreflang> <blockquote cite> <ul type> <ol start type> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img loading> <drupal-media data-caption>.", < ]), --- > 'expected_messages' => array_merge($basic_html_test_case['expected_messages'], > [ > - 'This format\'s HTML filters includes plugins that support the following tags, but not some of their attributes. To ensure these attributes remain supported by this text format, the following were added to the Source Editing plugin\'s Manually editable HTML tags: <a hreflang> <blockquote cite> <ul type> <ol start type> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img data-*>.', > + 'This format\'s HTML filters includes plugins that support the following tags, but not some of their attributes. To ensure these attributes remain supported by this text format, the following were added to the Source Editing plugin\'s Manually editable HTML tags: <a hreflang> <blockquote cite> <ul type> <ol start type> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img data-* loading>.', > ]),