Need help with angular-redactor?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

TylerGarlick
211 Stars 86 Forks MIT License 58 Commits 31 Opened issues

Description

Redactor WYSIWYG directives for redactor editor

Services available

!
?

Need anything else?

Contributors list

No Data

Stories in Ready

angular-redactor

Angular Redactor is an angular directive for the Redactor editor. http://imperavi.com/redactor/

Important Changes

There is an additional file (angular-redactor-2) for Redactor II. As of version 1.1.0, there is an additional file (angular-redactor-9.x) has been added to accommodate the the 9.x version of redactor, the angular-redactor.js will support the latest version of redactor.

Usage

  1. Include the redactor libraries from http://imperavi.com/redactor/ (The bower version of redactor is unsupported)
  2. In your angular application register angular-redactor as a dependency.
  3. Add the necessary html to view the editor.

Registration

// Angular Registration
angular.module('app', ['angular-redactor']);

Bare Minimum Html

html

With Options

html

With Plugins

html

You can pass options directly to Redactor by specifying them as the value of the

redactor
attribute.

Global Options

js
angular.module('app', ['angular-redactor'])
  .config(function(redactorOptions) {
    redactorOptions.buttons = ['formatting', '|', 'bold', 'italic'];
  });

Check out the demo folder where you can see a working example. https://github.com/TylerGarlick/angular-redactor/tree/master/demo

Bower Installation

bower install angular-redactor

NPM Installation

npm install angular-redactor

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.