Issue #3231336 by Wim Leers, lauriii: Simplify HtmlRestrictions and...
Issue #3231336 by Wim Leers, lauriii: Simplify HtmlRestrictions and FundamentalCompatibilityConstraintValidator now that "forbidden tags" are deprecated
Changes for core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraint.php: 0 added lines, 7 removed lines.
Original line number
Diff line number
Diff line
@@ -25,13 +25,6 @@ class FundamentalCompatibilityConstraint extends Constraint {
*/
public$noMarkupFiltersMessage='CKEditor 5 only works with HTML-based text formats. The "%filter_label" (%filter_plugin_id) filter implies this text format is not HTML anymore.';
/**
* The violation message when fundamental HTML elements are forbidden.
*
* @var string
*/
public$forbiddenElementsMessage='CKEditor 5 needs at least the <p> and <br> tags to be allowed to be able to function. They are forbidden by the "%filter_label" (%filter_plugin_id) filter.';
/**
* The violation message when fundamental HTML elements are not allowed.