Angular Quill is an angular directive for the Quill editor. http://quilljs.com/
- 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 install angular-quill