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