23 calls to HTMLRestrictions::fromString() in Drupal 10
- Alignment::getElementsSubset in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ Alignment.php - CKEditor5ElementConstraintValidator::validate in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ CKEditor5ElementConstraintValidator.php - CKEditor5PluginDefinition::isCreatableElement in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginDefinition.php - Checks if the element is a plain tag, meaning the plugin can create it.
- CKEditor5PluginDefinition::validateDrupalAspects in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginDefinition.php - Validates the Drupal aspects of the CKEditor 5 plugin definition.
- CKEditor5PluginManager::getProvidedElements in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginManager.php - Gets all supported elements for the given plugins and text editor.
- ckeditor5_filter_format_edit_form_submit in core/
modules/ ckeditor5/ ckeditor5.module - Form submission handler for filter format forms.
- FundamentalCompatibilityConstraintValidator::checkAllHtmlTagsAreCreatable in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ FundamentalCompatibilityConstraintValidator.php - Checks all HTML tags supported by enabled CKEditor 5 plugins are creatable.
- HTMLRestrictionsTest::testConvenienceConstructors in core/
modules/ ckeditor5/ tests/ src/ Unit/ HTMLRestrictionsTest.php - @covers ::fromString() @covers ::fromTextFormat() @covers ::fromFilterPluginInstance() @dataProvider providerConvenienceConstructors
- Media::getElementsSubset in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ Media.php - SmartDefaultSettingsTest::providerCandidates in core/
modules/ ckeditor5/ tests/ src/ Unit/ SmartDefaultSettingsTest.php - Data provider for testing getCandidates() and ::selectCandidate().
- SmartDefaultSettingsTest::providerSurplusScore in core/
modules/ ckeditor5/ tests/ src/ Unit/ SmartDefaultSettingsTest.php - Data provider for testing computeSurplusScore().
- SourceEditing::getDynamicPluginConfig in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ SourceEditing.php - SourceEditing::getElementsSubset in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ SourceEditing.php - SourceEditing::validateConfigurationForm in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ SourceEditing.php - SourceEditingPreventSelfXssConstraintValidator::validate in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ SourceEditingPreventSelfXssConstraintValidator.php - SourceEditingRedundantTagsConstraintValidator::pluginsSupplyingTagsMessage in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ SourceEditingRedundantTagsConstraintValidator.php - Creates a message listing plugins and the overlapping tags they provide.
- SourceEditingRedundantTagsConstraintValidator::validate in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ SourceEditingRedundantTagsConstraintValidator.php - SourceEditingTest::testAllowingExtraAttributes in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ SourceEditingTest.php - Tests allowing extra attributes on already supported tags using GHS.
- Style::buildConfigurationForm in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ Style.php - Style::getDynamicPluginConfig in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ Style.php - Style::parseStylesFormValue in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ Style.php - Parses the line-based (for form) style configuration.
- StyleSensibleElementConstraintValidator::findStyleConflictingPluginLabel in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ StyleSensibleElementConstraintValidator.php - Finds the plugin with elements that conflict with the style element.
- StyleSensibleElementConstraintValidator::validate in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ StyleSensibleElementConstraintValidator.php