draft-js-placeholder-plugin
v0.2.0
Published
Placeholder Plugin for DraftJS
Downloads
403
Maintainers
Readme
DraftJS placeholder Plugin
This is a plugin for the draft-js-plugins-editor
.
Usage
import createPlaceholderPlugin from 'draft-js-placeholder-plugin';
const placeholderPlugin = createPlaceholderPlugin();
Default Config
{
dataKey = 'placeholder',
component = DefaultPlaceholder,
}