0.2.0 • Published 6 years ago
draft-js-placeholder-plugin v0.2.0
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,
}