diff --git a/typo3/sysext/rte_ckeditor/ext_localconf.php b/typo3/sysext/rte_ckeditor/ext_localconf.php index 324b8b04f724a81e33408dc6e835595fa236b272..0fde35253a1bb78b3f28ed9588493babefdfdcf0 100644 --- a/typo3/sysext/rte_ckeditor/ext_localconf.php +++ b/typo3/sysext/rte_ckeditor/ext_localconf.php @@ -24,6 +24,12 @@ if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_CLI)) { } // Register the presets -$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:rte_ckeditor/Configuration/RTE/Default.yaml'; -$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['minimal'] = 'EXT:rte_ckeditor/Configuration/RTE/Minimal.yaml'; -$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['full'] = 'EXT:rte_ckeditor/Configuration/RTE/Full.yaml'; +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'; +}