Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/atmajs/compo-quilleditor

Quill editor component wrapper
https://github.com/atmajs/compo-quilleditor

Last synced: 6 days ago
JSON representation

Quill editor component wrapper

Awesome Lists containing this project

README

        

### [Quill](http://quilljs.com/) Component Wrapper

[![Build Status](https://travis-ci.org/atmajs/compo-quillEditor.png?branch=master)](https://travis-ci.org/atmajs/compo-quillEditor)
[![Bower version](https://badge.fury.io/bo/compo-quilleditor.svg)](http://badge.fury.io/bo/compo-quilleditor)

```scss
a:quillEditor;
```
### Attributes

Attributes | Description
---------- | ---
`?x-theme` | Quill theme (_default_ `snow`)
`?x-live` | Define this attribute, to emit `quillEditor_Changed` signal on each `keypress`, otherwise this signal is deferred until `blur` event

### Signals
Signal | Description
--- | ---
`quillEditor_Changed` | `(sender, text)` is emitted each time text is changed

### Install
```bash
bower install compo-quilleditor
```

### API

- **`editor`** #

Quill `Editor` instance

- **`get()`** #

Get text

- **`set(value)`** #

Set text

### Dependencies

- `QuillJS`: embed quill sources in any way into your application.

### Examples

- [/examples](/examples)

```bash
# install atma toolkit
npm install atma
# run server
atma server

# navigate `http://localhost:5777/examples/simple.html`
```

### Test
```bash
npm test
```

:copyright: MIT - The Atma.js Project