JSPM

klasses-editor

0.3.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q24264F
  • License MIT

A real time collaborative editor for OpenTok using CodeMirror and ot.js for Klasses.

Package Exports

  • klasses-editor

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (klasses-editor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Build Status Code Climate Test Coverage

opentok-editor

A real time collaborative editor for OpenTok using CodeMirror and ot.js. More information in this blog article.

Installation

npm with webpack or browserify:

npm install opentok-editor

require('opentok-editor');
require('opentok-editor/opentok-editor.css');

Bower:

bower install opentok-editor

or clone this repo and include the opentok-editor.js or opentok-editor.min.js file.

Usage

See index.html. You will need to replace the values for API_KEY, SESSION_ID and TOKEN with values using your OpenTok account. Then you can run npm start and go to localhost:8080 in your browser.

How to Build Yourself

Keep all custom changes to the src/ files and then run:

npm install

Which will install all bower components and run the gulp build to build the opentok-editor.js and opentok-editor.min.js files.