-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace deprecated Hook t3lib_parsehtml_proc.php:transformation #214
Comments
@sk-foresite has that in her version (for 12) via the t3lib/class.t3lib_tcemain.php solved. RTE.default.proc.entryHTMLparser_db = 1 I think it will go in that direction. |
We have 2 options: RTE.default.proc.entryHTMLparser_db = 1
RTE.default.proc.entryHTMLparser_db {
tags {
img.fixAttrib.src.userFunc = Netresearch\RteCKEditorImage\Database\RteImagesDbHook->transform_rte
img.fixAttrib.width.userFunc = Netresearch\RteCKEditorImage\Database\RteImagesDbHook->transform_rte
img.fixAttrib.height.userFunc = Netresearch\RteCKEditorImage\Database\RteImagesDbHook->transform_rte
img.fixAttrib.style.userFunc = Netresearch\RteCKEditorImage\Database\RteImagesDbHook->transform_rte
img.fixAttrib.data-htmlarea-file-uid.userFunc = Netresearch\RteCKEditorImage\Database\RteImagesDbHook->transform_rte
}
} or 2: HTMLSanitizer $GLOBALS['TYPO3_CONF_VARS']['SYS']['htmlSanitizer']['rtehtmlarea_images_db'] = \Netresearch\RteCKEditorImage\Sanitizer\RteImagesDbHook::class; what do you mean? |
The hook "t3lib/class.t3lib_parsehtml_proc.php->transformation" will be removed in TYPO3 v12.
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.2/Deprecation-92992-HookT3libclasst3lib_parsehtml_procphptransformation.html
Environment
The text was updated successfully, but these errors were encountered: