5.0.1 • Published 8 years ago
gulf-editor-quill v5.0.1
gulf-editor-quill
- Compatible with quill v1.x (0.20 still works, too).
- Compatible with gulf v5 only! (For gulf v4, checkout
gulf-quill
package on npm)
Install
npm install --save gulf-editor-quill
Usage
const QuillDocument = require('gulf-editor-quill')
var doc = new QuillDocument({
editorInstance: quill
})
masterStream.pipe(doc.masterLink()).pipe(masterStream)
API
class: QuillDocument({editorInstance:QuillInstance, ...}) extends gulf.EditableDocument
editorInstance
-- a quill instance to be wired up with gulfstorageAdapter
-- (optional) a gulf storage adapter. Default isgulf.MemoryAdapter
ottype
-- the OT type to use. Default isrich-text
Legal
(c) 2015 by Marcel Klehr
GNU Lesser General Public License