.../Constraint/FundamentalCompatibilityConstraintValidator.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php b/core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php index db9a3bf739..13a75c2a2c 100644 --- a/core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php +++ b/core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php @@ -149,13 +149,6 @@ private function checkHtmlRestrictionsMatch(EditorInterface $text_editor, Fundam foreach ($html_restrictor_filters as $filter_plugin_id => $filter) { $allowed = HTMLRestrictions::fromFilterPluginInstance($filter); - // The `*` HTML tag is a special case: it is not something that CKEditor 5 - // can interpret; it's specifically something used by FilterHtml. Hence do - // not require it to be provided by a CKEditor 5 plugin. - $allowed = new HTMLRestrictions(array_diff_key( - $allowed->getAllowedElements(), - ['*' => TRUE], - )); $provided = new HTMLRestrictions($provided); $diff_allowed = $allowed->diff($provided); $diff_elements = $provided->diff($allowed);