26 calls to HTMLRestrictions::fromString()
- Alignment::getElementsSubset in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ Alignment.php - Returns a configured subset of the elements supported by this plugin.
- CKEditor5ElementConstraintValidator::validate in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ CKEditor5ElementConstraintValidator.php - 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 - CKEditor5UpdateImageToolbarItemTest::getFilterHtmlRestrictions in core/
modules/ ckeditor5/ tests/ src/ Functional/ Update/ CKEditor5UpdateImageToolbarItemTest.php - Gets the configured restrictions for the `filter_html` filter plugin.
- CKEditor5UpdateImageToolbarItemTest::getSourceEditingRestrictions in core/
modules/ ckeditor5/ tests/ src/ Functional/ Update/ CKEditor5UpdateImageToolbarItemTest.php - Gets the configured HTML restrictions for the Source Editing plugin.
- CKEditor5UpdateOlStartReversed::testUpdate in core/
modules/ ckeditor5/ tests/ src/ Functional/ Update/ CKEditor5UpdateOlStartReversed.php - Test that sites with <ol start> or <ol reversed> opt in to the expanded UI.
- ckeditor5_editor_presave in core/
modules/ ckeditor5/ ckeditor5.module - Implements hook_ENTITY_TYPE_presave() for editor entities.
- 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.
- SmartDefaultSettings::computeNetNewElementsForPlugin in core/
modules/ ckeditor5/ src/ SmartDefaultSettings.php - Computes net new needed elements when considering adding the given plugin.
- SmartDefaultSettings::getCandidates in core/
modules/ ckeditor5/ src/ SmartDefaultSettings.php - Finds candidates for the still needed restrictions among disabled plugins.
- 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 - Allows a plugin to modify its static configuration.
- SourceEditing::getElementsSubset in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ SourceEditing.php - Returns a configured subset of the elements supported by this plugin.
- SourceEditingEmptyElementTest::testEmptyInlineElement in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ SourceEditingEmptyElementTest.php - Tests creating empty inline elements using Source Editing.
- 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 - Allows a plugin to modify its static configuration.
- 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
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.