thrownewInvalidPluginDefinitionException($id,sprintf('The "%s" CKEditor 5 plugin definition has a value at "drupal.elements.%d" that is not an HTML tag with optional attributes: "%s". Expected structure: "<tag allowedAttribute="allowedValue1 allowedValue2">".',$id,$index,$element));
}
elseif(count($parsed_elements)>1){
if(count($parsed->getAllowedElements())>1){
thrownewInvalidPluginDefinitionException($id,sprintf('The "%s" CKEditor 5 plugin definition has a value at "drupal.elements.%d": multiple tags listed, should be one: "%s".',$id,$index,$element));