Socket
Book a DemoInstallSign in
Socket

@usecanvas/canvas-editor

Package Overview
Dependencies
Maintainers
6
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@usecanvas/canvas-editor

The default blueprint for ember-cli addons.

3.11.10
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
6
Weekly downloads
 
Created
Source

CanvasEditor CircleCI

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/.

Keywords

ember-addon

FAQs

Package last updated on 14 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.