0.2.1 • Published 8 years ago

knockout-quill-binding v0.2.1

Weekly downloads
8
License
MIT
Repository
github
Last release
8 years ago

Knockout Quill Binding

This binding adds a quill WYSIWYG and binds it to a Knockout.js observable.

Demo

Check out the demo to get a quick idea of how it works and how to use it.

Installation

The knockout-quill binding is available as a Bower package and as an npm package.

To install with Bower:

bower install knockout-quill-binding

Or, to install with npm:

npm install --save knockout-quill-binding

Usage

It is expected that Quill and ko are both accessible globally on your page.

Include the knockout-quill.js JavaScript file then bind an observable like so:

<input type='text' data-bind='quill: observable'>

Refer to the demo page for detailed usage instructions.

Building

To build knockout-quill from the ECMAScript2015 source, do the following in a Node.js enabled environment:

npm install
npm run compile

License

The knockout-pickadate binding is released under the MIT License. Please see the LICENSE file for details.