Gulf bindings for textareas and text inputs
- Compatible with gulf v5 only! (For gulf v4 check out
gulf-textareaon npm)
npm install --save gulf-editor-textarea
const TextareaDocument = require('gulf-editor-textarea')
var textarea = document.querySelecor('textarea#doc')
var doc = new TextareaDocument({
editorInstance: document.querySelecor('textarea#doc')
})
stream.pipe(doc.masterLink()).pipe(stream)
editorInstance-- a texarea Element or an<input type="text">to be wired up with gulfstorageAdapter-- (optional) a gulf storage adapter. Default:gulf.MemoryAdapterottype-- (optional) the OT type to use. Default:ot-text
(c) 2015-2016 by Marcel Klehr
GNU Lesser General Public License