0.1.0 • Published 8 years ago

ember-cli-materialnote v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

ember-cli-materialnote

An Ember component for MaterialNote.

Note that this is still a work in progress. Feedback is encouraged.

Installation

ember install ember-cli-materialnote

How to Use

{{ember-materialnote body=body}} // uses default options

let airPopover = [['color', ['color']], ['font', ['bold', 'underline', 'clear']]];
{{ember-materialnote body=body airMode=true airPopover=airPopover}} // uses air mode

let toolbar = [['fonts', ['fontsize', 'fontname']], ['color', ['color']]];
{{ember-materialnote body=body toolbar=toolbar}}

These are the available options:

OptionDefault
toolbar// MaterialNote's default
height500
airModefalse
airPopover// only displays when airMode is true
followingToolbarfalse
defaultBackColor// MaterialNote's default
defaultTextColor// MaterialNote's default

See the MaterialNote demo for more information.

Known Issues

MaterialNote uses an older version of summernote, so some parts of the summernote API are unavailable. See this issue in MaterialNote's repo for more information.

Tasks

  • Create initial release
  • Add actions (on-update, etc.)