【发布时间】:2021-10-11 10:46:17
【问题描述】:
如何将 TYPO3 的默认 RTE CK Editor 预设与 RTE CK 编辑器的完整预设交换?我没有名为 page.ts 或 sth 的文件。像这样。
【问题讨论】:
标签: typo3 rich-text-editor rte
如何将 TYPO3 的默认 RTE CK Editor 预设与 RTE CK 编辑器的完整预设交换?我没有名为 page.ts 或 sth 的文件。像这样。
【问题讨论】:
标签: typo3 rich-text-editor rte
所有功能的配置可以在typo3/sysext/rte_ckeditor/Configuration/RTE/Full.yaml找到。
因此,您只需将其作为 RTE 字段的默认值加载。
Rich Text Editing in TYPO3 with CKEditor (rte_ckeditor) - Configuration Presets 显示了以下示例,可放入 LocalConfiguration.php、AdditionalConfiguration.php 或扩展名的 ext_localconf.php 内:
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:rte_ckeditor/Configuration/RTE/Default.yaml';
【讨论】: