gulf-quill
v4.0.0
Published
Convenient gulf bindings for quillJS (using shareaJS's rich text OT type)
Maintainers
Readme
gulf-quill
Convenient gulf bindings for quill
- Compatible with quill v1.x (0.20 still works, too).
Install
npm install --save gulf-quillUsage
var bindEditor = require('gulf-quill')
// ...
var doc = bindEditor(quill)
masterStream.pipe(doc.masterLink()).pipe(masterStream)API
bindEditor(cm:QuillInstance, [storageAdapter])
cm-- a quill instance to be wired up with gulfstorageAdapter-- a gulf storage adapter (optional; defaults to the in-memory Adapter)- returns the
gulf.EditableDocument(see the gulf docs; the returned document has the quill Instance set asquillproperty)
Legal
(c) 2015 by Marcel Klehr
GNU Lesser General Public License
