jvmtech/emoji

Last activity on 1 January 2021
  • 46
composer require jvmtech/emoji

Emoji picker for Neos CMS inspector

1.0.0

Emoji picker for Neos CMS inspector

Version
1.0.0
Type
neos-plugin
Release Date
07.01.2021 09:31:16
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
f314bee2c2fd0893dcfba2961f8640de65ee0c91

JvMTECH.Emoji

Latest Stable Version License

Emoji inspector editor for Neos CMS using emoji-mart.

JvMTECH.Emoji

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: '😃'
}
The content of the readme is provided by Github
The same vendor provides 4 package(s).