angular-quill

0.3.0 • Public • Published

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

  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

Readme

Keywords

none

Package Sidebar

Install

npm i angular-quill

Weekly Downloads

19

Version

0.3.0

License

MIT

Last publish

Collaborators

  • joemun
  • anthonyl
  • scamden