【发布时间】:2020-02-24 08:59:47
【问题描述】:
我目前正在将 TYPO3(以及已安装的自定义扩展)从 6.2 更新到 8.7。扩展创建一些自定义内容元素,使用“extbuilder”构建。到目前为止一切都很好,但是 rte_ckeditor 没有在这些内容元素的后端加载。 rte_ckeditor 已安装并在标准内容元素中工作。
我在这里https://docs.typo3.org/m/typo3/reference-tca/8.7/en-us/ColumnsConfig/Type/Text.html 使用columnsOverrides 尝试了第二个示例“rte_1”。这是我在typo3conf/ext/myExt/Configuration/TCA/Overrides/tt_content.php 文件中的代码
$GLOBALS['TCA']['tt_content']['types']['myext']['columnsOverrides'] = array(
'bodytext' => array(
'config' => array(
'type' => 'text',
'enableRichtext' => true,
)
)
);
在我的 ext_tables.php 中,该字段已加载:
$TCA['tt_content']['types']['myext_callout']['showitem'] = 'CType, header;Überschrift, subheader;Untertitel, image, bodytext;Beschreibung Preis/Leistung';
你有什么想法,为什么编辑器没有加载?
【问题讨论】: