2 defined(
'TYPO3_MODE') or die();
4 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/file_edit.php']['preOutputProcessingHook'][] = \
TYPO3\CMS\T3editor\Hook\FileEditHook::class . '->preOutputProcessingHook';
6 if (TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_BE) {
8 \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
9 \
TYPO3\CMS\Core\Page\PageRenderer::class
10 )->addRequireJsConfiguration([
14 'location' => \
TYPO3\CMS\Core\Utility\PathUtility::getAbsoluteWebPath(
15 \
TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName(
'EXT:t3editor/Resources/Public/JavaScript/Contrib/cm')
17 'main' =>
'lib/codemirror',
23 $GLOBALS[
'TYPO3_CONF_VARS'][
'SYS'][
'formEngine'][
'nodeRegistry'][1433089350] = [
24 'nodeName' =>
't3editor',
26 'class' => \TYPO3\CMS\T3editor\Form\Element\T3editorElement::class,