Iget Editor

IgetEditor

A WYSIWYG Editor for Angular Material applications.

npm version npm licence CircleCI

Help us keeping this project

Getting Started

Installation

Install via Package managers such as npm or yarn

npm install @iget/editor --save

Choosing correct version

Since v9.0.0 our version matches with the Angular & Angular Components version that it support. See the compatibility table:

@angular/angular @angular/components @iget/editor
 ^12.0.0     | ^12.0.0             |    ^12.0.0
 ^11.0.0     | ^11.0.0             |    ^11.0.0
 ^10.0.0     | ^10.0.0             |    ^10.0.0
 ^9.0.0      | ^9.0.0              |    ^9.0.0
 ^8.0.0      | ^8.0.0              |    ^2.0.0

Usage

Import iget-editor module

import { IgetEditorModule } from '@iget/editor';

@NgModule({
  imports: [ IgetEditorModule ]
})

Import Material Icon font into your application by adding this to your index.html head tag:

<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

Then insert the editor on your template

<iget-editor [(ngModel)]="htmlContent"></iget-editor>

For ngModel to work, You must import FormsModule from @angular/forms.

Compatibility

All Evergreen-Browsers are supported

  • Google Chrome
  • Microsoft Edge
  • Mozilla Firefox
  • Opera

Demo

Demo at stackblitz iget-editor

Documentation

For more information about usage, check out Documentation.

The documentation is auto-generated using compodoc

Thanks to

This package is based on ngx-editor from sibiraj-s, so this package is thanks to his work.

results matching ""

    No results matching ""