quill-delta-to-plaintext
v1.0.0
Published
Render Quill delta operations to plaintext
Downloads
5,892
Maintainers
Readme
quill-delta-to-plaintext
Convert Quill delta operations to plaintext
install
$ npm install quill-delta-to-plaintext
usage
import toPlaintext from 'quill-delta-to-plaintext';
const q = new Quill(...)
const text = toPlaintext(q.getContents());
api
toPlaintext(delta)
delta
should be a quill Delta
, with insert
operations.
license
ISC