在我的标准内容元素编辑器中,RTE (htmlarea,Rich-Text- text & media )的全屏模式工作得很好。
但是-我已经写了一个扩展(通过扩展构建器),如果我试图在全屏中使用RTE,我会得到以下错误:
Module wizard_rich_text_editor is not configured这是我的TCA,我的错误在哪里?'TYPO3-RTE‘运行正常,因此我的以下代码中一定有错误。你认为如何?
'description' => array(
'exclude' => 1,
'label' => 'LLL:EXT:xyz/Resources/Private/Language/locallang_db.xlf:tx_xyz_domain_model_product.description',
'config' => array(
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'wizards' => array(
'RTE' => array(
'icon' => 'wizard_rte2.gif',
'notNewRecords'=> 1,
'RTEonly' => 1,
'module' => array(
'name' => 'wizard_rich_text_editor',
'urlParameters' => array(
'mode' => 'wizard',
'act' => 'wizard_rte.php'
)
),
'title' => 'LLL:EXT:cms/locallang_ttc.xlf:bodytext.W.RTE',
'type' => 'script'
)
)
),
),有人知道问题出在哪里吗?谢谢你的帮助。
向你致敬,斯特凡
发布于 2016-08-24 01:52:07
TYPO3 7.x和8的一个工作示例是
'bodytext' => [
'exclude' => 0,
'l10n_mode' => 'noCopy',
'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext_formlabel',
'config' => [
'type' => 'text',
'cols' => 30,
'rows' => 5,
'softref' => 'rtehtmlarea_images,typolink_tag,images,email[subst],url',
'wizards' => [
'_PADDING' => 2,
'RTE' => [
'notNewRecords' => 1,
'RTEonly' => 1,
'type' => 'script',
'title' => 'Full screen Rich Text Editing',
'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_rte.gif',
'module' => [
'name' => 'wizard_rte',
],
],
],
]
],名称应为wizard_rte。
https://stackoverflow.com/questions/39100878
复制相似问题