• Stars
    star
    224
  • Rank 177,792 (Top 4 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created over 7 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CanvasEditor

Travis

This README outlines the details of collaborating on this Ember addon.

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Callbacks

There are a number of callbacks that can be passed to the editor:

  • onBlockContentUpdatedLocally: Receives a block with prevContent and content properties when a block's content was updated locally.
  • onNewBlockInsertedLocally: Receives an index and a new block object when a new block was inserted locally.
  • onBlockDeletedLocally: Receives an index and a block after the block was deleted locally.

Versioning

To release a new version of CanvasEditor:

  • npm run version major|minor|patch to increment the version
  • git push origin master to push the increment commit
  • git push origin master --tags to push the increment tag
  • npm publish to release to NPM

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://ember-cli.com/.

More Repositories

1

ios-v1

iOS app for Canvas V1
Swift
122
star
2

api-v2

Elixir
109
star
3

web-v2

JavaScript
92
star
4

realtime-v2

JavaScript
63
star
5

logoot-js

JavaScript implementation of the Logoot CRDT
JavaScript
31
star
6

searchql

Search query parser written in Elixir
Elixir
26
star
7

livedb-postgresql

A PostgreSQL adapter for livedb
JavaScript
24
star
8

logoot_ex

An Elixir implementation of the Logoot CRDT
Elixir
13
star
9

curse

capture and restore selections in HTML elements
JavaScript
11
star
10

CanvasText

Canvas text system for iOS & OS X
Swift
10
star
11

canvas-cli

The command line interface to usecanvas.com
Go
8
star
12

presence

Simple user presence
JavaScript
7
star
13

CanvasCore

Shared business logic between Swift-based Canvas clients.
Swift
6
star
14

ember-electron

Experimenting with Electron + Ember CLI
JavaScript
6
star
15

CanvasKit

Swift Canvas API client
Swift
6
star
16

hapi-request-id

Set Hapi request IDs from the X-Request-ID header
JavaScript
6
star
17

canvas-native-ex

Elixir library for the Canvas Native format.
Elixir
5
star
18

sharejs-wrapper

A wrapper around ShareJS
JavaScript
4
star
19

canvas-native-3

https://usecanvas.github.io/canvas-native-3
JavaScript
4
star
20

CanvasNative

Swift implementation of Canvas Native
Swift
4
star
21

share-js-stream

A stream for ws <-> ShareJS communication
JavaScript
2
star
22

OperationalTransformation

Swift library for working with OT against a ShareJS server.
HTML
2
star
23

canvas-text

JavaScript
1
star
24

canvas-native

Utilities for working with native Canvas documents
JavaScript
1
star
25

ember-selector

A selection utility for Ember apps
JavaScript
1
star