psmb/footnote
最新稳定版本:0.3
Composer 安装命令:
composer require psmb/footnote
包简介
Footnotes CKeditor5 plugin for Neos CMS
README 文档
README
This package provides a footnote plugin for CKeditor5 integraion in Neos CMS.
Installation
- Switch to using CKeditor 5
composer require 'psmb/footnote'- Enable footnote button on node properties that should support it, e.g.:
'Neos.NodeTypes:TextMixin':
properties:
text:
ui:
inline:
editorOptions:
formatting:
footnote: true
- Add Fusion processor over the needed content collection, from which the footnotes should be gathered and rendered (or write your own Fusion or JS solution), e.g.:
prototype(Neos.Neos:PrimaryContent) {
@process.footnotes = Psmb.Footnote:FootnoteProcessor
}
- Optionally add some styling to footnotes in backend, e.g.:
.neos-backend span[data-footnote]:after {
content: '*';
color: orange;
border-bottom: orange solid 1px;
}
统计信息
- 总下载量: 1.8k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2018-08-06
