Skip to content

gulf/gulf-editor-socialcalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulf-editor-socialcalc

Gulf bindings for the socialcalc spreadsheet editor. It utilizes the ot-socialcalc OT type.

  • Compatible with gulf v5 only (For gulf v4, you may find v0.1.x to work.)

Install

npm install --save gulf-editor-socialcalc

Usage

const SocialcalcDocument = require('gulf-editor-socialcalc')

var doc = new SocialcalcDocument({
  editorInstance: socialcalcControl
})

masterStream.pipe(doc.masterLink()).pipe(masterStream)

API

class CodemirrorDocument({editorInstance:SocialcalcControl, ...}) extends gulf.EditableDocument

  • editorInstance -- a SocialcalcControl instance to be wired up with gulf
  • storageAdapter -- (optional) a gulf storage adapter. Default: gulf.MemoryAdapter
  • ottype -- (optional) the ottype to use. Default: ot-socialcalc

Legal

(c) 2016 by Marcel Klehr

Mozilla Public License 2.0

socialcalc_patches.js is licensed under CC0 by Audrey Tang.

About

A gulf wrapper for the socialcalc spreadsheet editor

Resources

License

Stars

Watchers

Forks

Packages

No packages published