0.1.0 • Published 7 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
7 years ago