ember-cli-summernote-editor
A wrapper around the summernote library for use in ember-cli projects
Installation
ember install ember-cli-summernote-editor
Usage
Handlebar Template
; Controller;
{{summernote-editor focus=false btnSize=bs-sm airMode=false height=height buttons=buttons toolbar=toolbar disabled=disabled callbacks=callbacks content=(readonly value) onContentChange=(action (mut value))}}
Custom buttons usage
In hbs file
summernote-editor content=article buttons=customButtons
In controller file
; Controller;
All callbacks except onChange
are supported.
The onChange
callback are used internally for the onContentChange
action.
callbackOptions: { console; } { console; } { console; }
Available options
See original library Summernote
Contributing
See the Contributing guide for details.
License
This project is licensed under the MIT License.