‪TYPO3CMS  11.5
ext_localconf.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
7 
8 defined('TYPO3') or die();
9 
10 // Register FormEngine node type resolver hook to render RTE in FormEngine if enabled
11 ‪$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeResolver'][1480314091] = [
12  'nodeName' => 'text',
13  'priority' => 50,
14  'class' => ‪RichTextNodeResolver::class,
15 ];
16 
17 // Hook to add rte_ckeditor requirejs config to PageRenderer in backend
18 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-preProcess'][] =
19  ‪PageRendererRenderPreProcess::class . '->addRequireJsConfiguration';
20 
21 // Register the presets
22 ‪if (empty(‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'])) {
23  ‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:rte_ckeditor/Configuration/RTE/Default.yaml';
24 }
25 if (empty(‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['minimal'])) {
26  ‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['minimal'] = 'EXT:rte_ckeditor/Configuration/RTE/Minimal.yaml';
27 }
28 if (empty(‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['full'])) {
29  ‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['full'] = 'EXT:rte_ckeditor/Configuration/RTE/Full.yaml';
30 }
‪TYPO3\CMS\RteCKEditor\Form\Resolver\RichTextNodeResolver
Definition: RichTextNodeResolver.php:28
‪TYPO3\CMS\RteCKEditor\Hook\PageRendererRenderPreProcess
Definition: PageRendererRenderPreProcess.php:29
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:25
‪if
‪if(PHP_SAPI !=='cli')
Definition: checkNamespaceIntegrity.php:26