bindings/quill.QuillBinding(textType, quill)

A Binding that binds a YText type to a Quill editor.

new QuillBinding(textType, quill)

Parameters:
Name Type Description
textType YText
quill Quill
Example
const quill = new Quill(document.createElement('div'))
const type = y.define('quill', Y.Text)
const binding = new Y.QuillBinding(quill, type)
// Now modifications on the DOM will be reflected in the Type, and the other
// way around!

Members

target :Quill

The target that type is bound to.

type :YText

The Yjs type that is bound to target