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
typeis bound to. -
type :YText
-
The Yjs type that is bound to
target