[BUGFIX] MediaViewHelper does not render data-focus-area attribute
[Packages/TYPO3.CMS.git] / typo3 / sysext / rte_ckeditor / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 // Register FormEngine node type resolver hook to render RTE in FormEngine if enabled
5 $GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeResolver'][1480314091] = [
6 'nodeName' => 'text',
7 'priority' => 50,
8 'class' => \TYPO3\CMS\RteCKEditor\Form\Resolver\RichTextNodeResolver::class,
9 ];
10
11 \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
12 \TYPO3\CMS\Core\Page\PageRenderer::class
13 )->addRequireJsConfiguration([
14 'shim' => [
15 'ckeditor' => ['exports' => 'CKEDITOR']
16 ],
17 'paths' => [
18 'ckeditor' => \TYPO3\CMS\Core\Utility\PathUtility::getAbsoluteWebPath(
19 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('rte_ckeditor', 'Resources/Public/JavaScript/Contrib/')
20 ) . 'ckeditor'
21 ]
22 ]);
23
24 // Register the presets
25 $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:rte_ckeditor/Configuration/RTE/Default.yaml';
26 $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['minimal'] = 'EXT:rte_ckeditor/Configuration/RTE/Minimal.yaml';
27 $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['full'] = 'EXT:rte_ckeditor/Configuration/RTE/Full.yaml';