jvmtech/emoji
Composer 安装命令:
composer require jvmtech/emoji
包简介
Emoji picker for Neos CMS inspector
README 文档
README
Emoji inspector editor for Neos CMS using emoji-mart.
Installation
composer require jvmtech/emoji
Usage
NodeType
It is important to use type array for your property.
properties:
emoji:
type: array
ui:
label: 'Emoji'
inspector:
editor: 'JvMTECH.Emoji/EmojiEditor'
Fusion
In your fusion prototype, the emoji can be output as follows:
prototype(Your.Package:Emoji) < prototype(Neos.Fusion:Component) {
emoji = ${q(node).property('emoji')}
renderer = afx`<div @if.has={props.emoji}>{props.emoji.native}</div>`
}
The following object keys are available:
{
id: 'smiley',
name: 'Smiling Face with Open Mouth',
colons: ':smiley:',
text: ':)',
emoticons: [
'=)',
'=-)'
],
skin: null,
native: '😃'
}
统计信息
- 总下载量: 200
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-01-07
