carbon/editable
最新稳定版本:3.0.0
Composer 安装命令:
composer require carbon/editable
包简介
This package extends the Fusion prototype `Neos.Neos:ContentComponent`, `Neos.Neos:Content` and `Neos.Neos:Editable`. It is all about to toggle editability.
README 文档
README
Carbon.Editable Package for Neos CMS
This package extends the Fusion prototype Neos.Neos:ContentComponent, Neos.Neos:Content and Neos.Neos:Editable. It is all about to toggle editability.
Installation
Carbon.Editable is available via packagist. Add "carbon/editable" : "^1.0"
to the require section of your composer.json or run composer require carbon/editable.
Neos.Neos:ContentComponent and Neos.Neos:Content
With the new property contentElement (default to true) you can turn off the content element wrapping. Great if you want to use content elements for components without any abillity to edit or inside another content element.
Neos.Neos:Editable
You'll get some new features for this prototype:
| Property | Default value | Description |
|---|---|---|
editable |
true |
Set to false if you want to disable the editable feature |
tagName |
this.class ? 'div' : null |
If this property is set, the tag is always written |
innerTagName |
null |
Pass an additional, inner tag inside the tagName |
class |
null |
Pass a class to the tagName |
The already existing property block get a new default value: this.tagName ? false : true. If don't make use of the tagName everything stays the same.
统计信息
- 总下载量: 11.22k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2018-10-09