soft2do / frontend-editing
使编辑器能够以最直观的方式处理内容,扩展自 Typo3 前端编辑
2.8.0
2023-05-23 14:50 UTC
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.15
- nimut/testing-framework: ^2.0
- phpunit/phpunit: ^5.4
- squizlabs/php_codesniffer: 2.*
Suggests
- clickstorm/cs_seo: ~2.1.0
Conflicts
Replaces
- typo3-ter/frontend-editing: 2.8.0
This package is not auto-updated.
Last update: 2024-09-24 21:12:09 UTC
README
TYPO3 前端编辑 (frontend_editing)
基于 原始扩展,此包为 TYPO3 CMS 提供前端编辑功能,使用的编辑器是 Ckeditor。
文档
涵盖安装到如何开发扩展的所有类型文档
将 JS / CSS 文件添加到前端编辑
plugin.tx_frontend_editing {
settings {
enableDefaultRightBar.50 = 10
cssFiles{
10 = EXT:extension/Resources/Public/Css/Backend/frontend_editing_override.css
}
jsFiles{
10 = EXT:extension/Resources/Public/Css/Backend/frontend_editing_override.js
}
}
}
enableDefaultRightBar 用于启用或禁用默认样式
覆盖默认颜色
plugin.tx_frontend_editing {
settings {
defaultColors{
primaryColor.10=red
secondaryColor.10=green
}
}
}
添加拖拽区域
在 html 中导入核心
xmlns:core="TYPO3\CMS\FrontendEditing\ViewHelpers"
使用以下方式调用拖拽区域
<core:DropZone></core:DropZone>
<core:DropZone colPos="{colpos}" parentUid="{parentUid}"></core:DropZone>