-
Benjamin Franzke authored
TBE_EDITOR is only needed for the legacy, inline-javascript based, TBE_EDITOR.customEvalFunctions registry, therefore the synchronous script jsfunc.tbe_editor.js is almost always loaded without ever being used in requests if no legacy code is loaded. The remaining usages of TBE_EDITOR.registerCustomEvaluation have been migrated to TBE_EDITOR.registerCustomEvaluation in #95954 (rsee eturnFieldJs in redirects SourceHost evaluation), therefore TBE_EDITOR.customEvalFunctions is subject for deprecation anyway, and it's fine to guard any TBE_EDITOR.customEvalFunctions assignment with a fallback-factory for TBE_EDITOR and to remove jsfunc.tbe_editor.js. Resolves: #96597 Releases: main Change-Id: I1d67e0129f91cf6f51b66fb82cb7806f9c9f9672 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73099 Tested-by: core-ci <typo3@b13.com> Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: Benni Mack <benni@typo3.org> Tested-by: Benjamin Franzke <bfr@qbus.de> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by: Benni Mack <benni@typo3.org> Reviewed-by: Benjamin Franzke <bfr@qbus.de>
ba2cae54