ld-audio
Audio plugin for last-draft
Plays audio in a custom player from soundcloud track urls. Support for last.fm in progres...
Install
npm install ld-audio --save
Use
import Editor from 'last-draft'import audio from 'ld-audio'let plugins = audio { 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: