public static function isCreatableElement(string
$element): bool
{ return !HTMLRestrictions::
fromString($element) ->
getPlainTagsSubset() ->
allowsNothing();
} /**
* Whether this plugin allows creating/editing elements and attributes.
*
* @return bool
*
* @see \Drupal\ckeditor5\Annotation\DrupalAspectsOfCKEditor5Plugin::$elements
*/
public function hasElements(): bool
{