Task #92992
closedDeprecate Hook t3lib/class.t3lib_parsehtml_proc.php:transformation in RteHtmlParser
0%
Description
Since the deprecation of several internal functions in the RteHtmlParser in TYPO3 10.2 (https://docs.typo3.org/c/typo3/cms-core/10.2/en-us/Changelog/9.5/Deprecation-86440-InternalMethodsAndPropertiesWithinRteHtmlParser.html) the hook t3lib/class.t3lib_parsehtml_proc.php:transformation became quite useless.
It is now impossible to access the tsconfig configuration and other information that you would need for examples that we had the documentation like here: https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/Rte/Transformations/CustomApi.html
The hook is not being used in the core.
It has been used in some extensions in the past: https://github.com/search?q=t3lib_parsehtml_proc+filename%3Aext_localconf.php+language%3APHP+language%3APHP&type=Code&ref=advsearch&l=PHP&l=PHP
However these extensions don't seem to be maintained anymore
Updated by Gerrit Code Review about 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67005
Updated by Gerrit Code Review about 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67005
Updated by Gerrit Code Review about 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67005
Updated by Benni Mack about 4 years ago
- Status changed from Under Review to Closed
Updated by Oliver Bartsch about 3 years ago
- Related to Task #96257: Remove t3lib/class.t3lib_parsehtml_proc.php:transformation hook added
Updated by Sybille Peters over 2 years ago
The hook is still used in rte_ckeditor_image (43 stars on GitHub). It is still maintained and officially, it supports v11.
- https://github.com/netresearch/t3x-rte_ckeditor_image/blob/master/Classes/Database/RteImagesDbHook.php#L52
- https://github.com/netresearch/t3x-rte_ckeditor_image/blob/master/ext_localconf.php
See also my issue https://github.com/netresearch/t3x-rte_ckeditor_image/issues/188 which looks similar to what is mentioned above relating to the TSconfig configuration.
Updated by Markus Klein 8 months ago
- Related to Bug #104221: Missing hook in RteHtmlParser for a complete replacement of elements added