[BUGFIX] Allow <figure> tag outside of paragraph tags
<figure> is allowed in HTML5 outside of paragraphs, thus it should also be configured like that out-of-the-box See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure Since CKEditor5 is using <figure> around tables, and also might add a <figcaption> both variants are now enabled by default. Resolves: #99273 Releases: main, 11.5, 10.4 Change-Id: I9356cc13ccef764f475ba42cc47f43f7ecd624a1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76897 Tested-by:Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com>
Showing
- typo3/sysext/core/Classes/Html/RteHtmlParser.php 4 additions, 2 deletionstypo3/sysext/core/Classes/Html/RteHtmlParser.php
- typo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php 12 additions, 1 deletiontypo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php
- typo3/sysext/rte_ckeditor/Configuration/RTE/Processing.yaml 3 additions, 1 deletiontypo3/sysext/rte_ckeditor/Configuration/RTE/Processing.yaml
Please register or sign in to comment