Skip to content

Convenient gulf bindings for quill (using shareJS' rich text OT type)

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.txt
Unknown
COPYING.LESSER
Notifications You must be signed in to change notification settings

gulf/gulf-editor-quill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulf-editor-quill

Gulf bindings for 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 gulf
  • storageAdapter -- (optional) a gulf storage adapter. Default is gulf.MemoryAdapter
  • ottype -- the OT type to use. Default is rich-text

Legal

(c) 2015 by Marcel Klehr

GNU Lesser General Public License

About

Convenient gulf bindings for quill (using shareJS' rich text OT type)

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.txt
Unknown
COPYING.LESSER

Stars

Watchers

Forks

Packages

No packages published