StyleSensibleElementConstraint::$nonHtml5TagMessage
Same name in other branches
- 9 core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraint.php \Drupal\ckeditor5\Plugin\Validation\Constraint\StyleSensibleElementConstraint::nonHtml5TagMessage
- 10 core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraint.php \Drupal\ckeditor5\Plugin\Validation\Constraint\StyleSensibleElementConstraint::nonHtml5TagMessage
When a style is defined for a non-HTML5 tag.
Type: string
File
-
core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ StyleSensibleElementConstraint.php, line 27
Class
- StyleSensibleElementConstraint
- Styles can only be specified for HTML5 tags and extra classes.
Namespace
Drupal\ckeditor5\Plugin\Validation\ConstraintCode
public $nonHtml5TagMessage = 'A style can only be specified for an HTML 5 tag. <code>@tag</code> is not an HTML5 tag.';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.