TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use TYPO3\CMS\RteCKEditor\Form\Resolver\RichTextNodeResolver;
|
||||
|
||||
defined('TYPO3') or die();
|
||||
|
||||
// Register FormEngine node type resolver hook to render RTE in FormEngine if enabled
|
||||
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeResolver'][1480314091] = [
|
||||
'nodeName' => 'text',
|
||||
'priority' => 50,
|
||||
'class' => RichTextNodeResolver::class,
|
||||
];
|
||||
|
||||
// Register the presets
|
||||
if (empty($GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'])) {
|
||||
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:rte_ckeditor/Configuration/RTE/Default.yaml';
|
||||
}
|
||||
if (empty($GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['minimal'])) {
|
||||
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['minimal'] = 'EXT:rte_ckeditor/Configuration/RTE/Minimal.yaml';
|
||||
}
|
||||
if (empty($GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['full'])) {
|
||||
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['full'] = 'EXT:rte_ckeditor/Configuration/RTE/Full.yaml';
|
||||
}
|
||||
Reference in New Issue
Block a user