An AngularJS rich-text editor
This rich-text editor was tested with Chrome. It may not work as expected with other browsers.
Copy the files in
src/rte into your application. Add 'rte-angular' to your angular.module:
And create the rich-text editor in your markup:
demo/index.html to see its use in context.
Installing client-side dependencies
The client-side dependencies are managed with Bower. If you have Node.js, you can install Bower as follows:
npm install -g bower
You can then install the packages listed in
bower.json with the following command:
Running the demo
Note that Chrome has strict permissions for reading files from the local file system. The best way to run the demo is to use any static file web server. For example, if you have Node.js, consider using
npm install -g http-server
To run the server, simply navigate to the directory where the files have been saved and type:
The demo should be up and running at http://localhost:8080/demo/.