ember-summernote-lite
Description
A wrapper around the "lite" version of summernote for use in ember-cli projects.
This is a fork of devotox's ember-cli-summernote-editor, which removes the dependency on Bootstrap by using the "lite" version of summernote.
Installation
ember install ember-summernote-lite
Usage
Handlebar Template
; Controller;
{{summernote-lite 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-lite 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
License
MIT license.