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