我使用以下配置,即使在新闻中也能正常工作:
完整图像.yaml
# Load default processing options
imports:
# Import default RTE config (for example)
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Full.yaml" }
# Import the image plugin configuration
- { resource: "EXT:rte_ckeditor_image/Configuration/RTE/Plugin.yaml" }
# Add configuration for the editor
# For complete documentation see http://docs.ckeditor.com/#!/api/CKEDITOR.config
editor:
config:
removePlugins: null
externalPlugins:
typo3image:
allowedExtensions: "gif,jpg,jpeg,png,svg"
在ext\u localconf.php中:
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:my_extension/Configuration/RTE/FullAndImage.yaml';
news
编辑:
还有一个提示:如果你升级了TYPO3并且仍然有旧编辑器的页面
rte_htmlarea
rte_ckeditor