angular-quill
v0.3.0
Published
a template for basic js packages
Downloads
12
Readme
angular-quill
(This fork adapts the library for proper use with browserify and is still being developed, use at own risk)
Angular Quill is an angular directive for the Quill editor. http://quilljs.com/
Usage
- Include the quill libraries
- In your angular application register angular-quill as a dependency.
- Add the necessary html to view the editor.
Registration
// Angular Registration
angular.module('app', ['angular-quill']);
Bare Minimum Html
<div ng-model="article" quill></div>
With Options
<div ng-model="article" quill="{
modules: {
'toolbar': { container: '.toolbar' },
'image-tooltip': false,
'link-tooltip': false
},
theme: 'snow'
}"></div>
You can pass options directly to Quill editor by specifying them as the value of the quill
attribute.
Bower Installation
bower install angular-quill