Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/thiagogarbazza/angular-alloyeditor

AlloyEditor directive for Angular.
https://github.com/thiagogarbazza/angular-alloyeditor

alloyeditor angular javascript wysiwyg-editor

Last synced: about 6 hours ago
JSON representation

AlloyEditor directive for Angular.

Awesome Lists containing this project

README

        

# angular-alloyeditor

[![Build Status](https://travis-ci.org/thiagogarbazza/angular-alloyeditor.svg?branch=master)](https://travis-ci.org/thiagogarbazza/angular-alloyeditor)
[![Coverage Status](https://coveralls.io/repos/github/thiagogarbazza/angular-alloyeditor/badge.svg?branch=master)](https://coveralls.io/github/thiagogarbazza/angular-alloyeditor?branch=master)

[![Dependency Status](https://david-dm.org/thiagogarbazza/angular-alloyeditor.svg?theme=shields.io)](https://david-dm.org/thiagogarbazza/angular-alloyeditor)
[![DevDependency Status](https://david-dm.org/thiagogarbazza/angular-alloyeditor/dev-status.svg?theme=shields.io)](https://david-dm.org/thiagogarbazza/angular-alloyeditor#info=devDependencies)
[![License](http://img.shields.io/:license-mit-blue.svg)](https://github.com/thiagogarbazza/angular-alloyeditor/)

[AlloyEditor] directive for Angular.

## Install

### Using Bower

```sh
bower install --save angular-alloyeditor
```

### Using NPM

```sh
npm install --save angular-alloyeditor
```

## Usage

### Example

HTML:
```html




```

JavaScript:
```js
angular
.module('app', ['alloyeditor'])
.controller('MyController', MyController);

function MyController() {
var vm = this;
vm.model = {
content: '

AlloyEditor

Yes, you can edit this content. Right here and right now.

'
};
}
```

### Settings
* _ng-model_: binding the view into the model.
* _readonly_: is a property that it allows you enable or disable editor.
* _onready_: call this function after create instance of the editor.
* _config_: allows you to configure the editor in the way you prefer.

## License

The `angular-alloyeditor` project is under MIT license.

[AlloyEditor]: https://alloyeditor.com/ "AlloyEditor a modern WYSIWYG editor built on top of CKEDITOR, designed to create modern and gorgeous web content"
[AlloyEditor Configuration]: http://alloyeditor.com/guides/editor_configuration/ "AlloyEditor allows you to configure the editor in the way you prefer"