Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 853 Bytes

README.md

File metadata and controls

47 lines (34 loc) · 853 Bytes

angular-quill

Angular Quill is an angular directive for the Quill editor. http://quilljs.com/

Usage

  1. Include the quill libraries
  2. In your angular application register angular-quill as a dependency.
  3. 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