Gulf bindings for contenteditable elements
(This version is compatible with gulf v5 only. For a gulf v4 compatible package check out gulf-contenteditable
on npm.)
npm install --save gulf-editor-contenteditable
const ContenteditableDocument = require('gulf-editor-contenteditable')
var doc = new ContenteditableDocument({
editorInstance: document.querySelecor('#doc[contenteditable]')
})
editorInstance
-- a contenteditable Element to be wired up with gulfstorageAdapter
-- (optional) a gulf storage adapter. Default isgulf.MemoryAdapter
ottype
-- (optional) the OT type to use. With this binding the default isdom-ot
(c) 2015 by Marcel Klehr
GNU Lesser General Public License