svenjuergens / rte-ckeditor-iframe
TYPO3 CKEditor 富文本编辑器:Iframe
1.0.1
2023-04-14 20:15 UTC
Requires
- typo3/cms-core: >=9.5.20 || ^10.4
This package is auto-updated.
Last update: 2024-09-18 16:30:47 UTC
README
一个简单的扩展,可以将IFrame 对话框集成到 TYPO3 默认编辑器 CKEditor。
安装
composer require svenjuergens/rte-ckeditor-iframe
- 通过后台扩展管理器安装扩展
在 PageTS 中设置 RTE 预设
RTE.default.preset = default+iframes
设置 TypoScript
lib.parseFunc_RTE.externalBlocks := addToList(iframe)
手动插入
将必要的 2 个文件添加到您的 Default.yaml 文件中(请参阅 rte_ckeditor_iframe/Configuration/RTE/Default.yaml)
imports: ... - { resource: "EXT:rte_ckeditor_iframe/Configuration/RTE/Processing.yaml" } - { resource: "EXT:rte_ckeditor_iframe/Configuration/RTE/Plugin.yaml" }
然后,确保启用工具栏组 insert
editor: toolbarGroups: ... - { name: insert, groups: [ insert ] }
可选地从工具栏组 insert
中移除其他按钮
removeButtons: ... - Table - HorizontalRule - SpecialChar