0.1.0 • Published 8 years ago
slate-no-empty v0.1.0
slate-no-empty
A Slate plugin to prevent the document from being empty.
Install
npm install slate-no-empty --save
Usage
import NoEmpty from 'slate-no-empty'
const plugins = [
NoEmpty('paragraph')
// or NoEmpty(Block.create({ type: 'image', isVoid: true }))
]
0.1.0
8 years ago