ld-emoji
Emoji plugin for last-draft
Install
npm install ld-emoji --save
Use
import Editor from 'last-draft'import emoji from 'ld-emoji'let plugins = emoji { const INITIAL_STATE = thisstate = value: INITIAL_STATE } { this } { return <Editor = = = = = /> }
Styles
Last Draft plugins use styled-components 💅 for the base styling.
Custom Styles with CSS
You can also add custom css to override the base styling with the following class names specified below: