[BUGFIX] Avoid CKEditor RequireJS information loaded in FE
[Packages/TYPO3.CMS.git] / typo3 / sysext / rte_ckeditor / ext_localconf.php
index b7e1151..324b8b0 100644 (file)
@@ -8,7 +8,7 @@ $GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeResolver'][1480314091] = [
     'class' => \TYPO3\CMS\RteCKEditor\Form\Resolver\RichTextNodeResolver::class,
 ];
 
-if ((TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_CLI) === 0) {
+if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_CLI)) {
     \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
         \TYPO3\CMS\Core\Page\PageRenderer::class
     )->addRequireJsConfiguration([