@@ -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.
@@ -462,33 +462,6 @@ public function providerPair(): array {
],
'violations'=>[],
];
$data['INVALID: forbidden tags']=[
'settings'=>[
'toolbar'=>[
'items'=>[],
],
'plugins'=>[],
],
'image_upload'=>[
'status'=>FALSE,
],
'filters'=>[
'filter_test_restrict_tags_and_attributes'=>[
'id'=>'filter_test_restrict_tags_and_attributes',
'provider'=>'filter_test',
'status'=>TRUE,
'weight'=>0,
'settings'=>[
'restrictions'=>[
'forbidden_tags'=>['p'=>FALSE],
],
],
],
],
'violations'=>[
''=>'CKEditor 5 needs at least the <p> and <br> tags to be allowed to be able to function. They are forbidden by the "<em class="placeholder">Tag and attribute restricting filter</em>" (<em class="placeholder">filter_test_restrict_tags_and_attributes</em>) filter.',