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

https://github.com/thecodinghouse/ng2-text-editor

A simple text editor using bootstrap.
https://github.com/thecodinghouse/ng2-text-editor

Last synced: about 1 year ago
JSON representation

A simple text editor using bootstrap.

Awesome Lists containing this project

README

          

# Ng2TextEditor

A simple text editor using bootstrap.This project was generated with [angular-cli](https://github.com/angular/angular-cli) version 1.0.0-beta.17.

### Dependencies

ng2-text-editor depends on bootstrap, you'll need to include below link before using ng2-text-editor:

[Bootstrap](https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css)

### Demo
To run the demo locally follow these steps:
- Clone or fork this repository
- Make sure you have [node.js](https://nodejs.org/) installed
- run `npm install` to install dependencies
- run `npm start` or `ng serve` to fire up dev server
- open browser to [`http://localhost:4200`](http://localhost:4200)

### How to use-
- Clone or download the repository.
- Add the directory components into your angular2 app.
- Use it as `` in the view of the desired component.

## Options
These are global options that apply to the entire editor. Example:
- Bold
- Italics
- Underline
- Heading
- Justify Center
- Justify Left
- Justify Right
- Justify Full
- Link Creation
- Indent
- Image Insertion
- Cut
- Undo
- Redo