ld-color-picker
color-picker plugin for last-draft
Install
npm install ld-color-picker --save
Use
import Editor from 'last-draft'import color from 'ld-color-picker'let plugins = color { 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: