7 calls to HTMLRestrictions::fromTextFormat()

ckeditor5_filter_format_edit_form_submit in core/modules/ckeditor5/ckeditor5.module
Form submission handler for filter format forms.
FundamentalCompatibilityConstraintValidator::checkHtmlRestrictionsAreCompatible in core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php
Checks that fundamental CKEditor 5 plugins' HTML tags are allowed.
SmartDefaultSettings::addToolbarItemsToMatchHtmlElementsInFormat in core/modules/ckeditor5/src/SmartDefaultSettings.php
Adds CKEditor 5 toolbar items to match the format's HTML elements.
SmartDefaultSettings::computeSmartDefaultSettings in core/modules/ckeditor5/src/SmartDefaultSettings.php
Computes the closest possible equivalent settings for switching to CKEditor 5.
SmartDefaultSettingsTest::test in core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php
Tests the CKEditor 5 default settings conversion.
SourceEditingEmptyElementTest::testEmptyInlineElement in core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingEmptyElementTest.php
Tests creating empty inline elements using Source Editing.
SourceEditingTest::testAllowingExtraAttributes in core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingTest.php
Tests allowing extra attributes on already supported tags using GHS.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.