Package Exports
- ember-cli-materialnote
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 (ember-cli-materialnote) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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:
Option | Default |
---|---|
toolbar | // MaterialNote's default |
height | 500 |
airMode | false |
airPopover | // only displays when airMode is true |
followingToolbar | false |
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.)