Skip to content

A Simple WYSIWYG Editor used in Gantner Electronic Products

License

Notifications You must be signed in to change notification settings

novarider/ngx-editor-gantner-flavor

 
 

Repository files navigation

NgxEditor (adapted for Gantner Electronics)

Made some changes to use this editor in Gantner Electronic GmbH's Products. Adaptions are mainly that style tags are now used instead of CSS.

Getting Started

Installation

Install via Package managers such as npm or yarn

npm install ngx-editor --save
# or
yarn add ngx-editor

Usage

Import ngx-editor module

import { NgxEditorModule } from 'ngx-editor';

@NgModule({
  imports: [ NgxEditorModule ]
})

Import font-awesome into your application

Then in HTML

<app-ngx-editor [placeholder]="'Enter text here...'" [spellcheck]="true" [(ngModel)]="htmlContent"></app-ngx-editor>

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

PeerDependencies

ngx-editor depeneds on the following libraries to work.

Compatibility

All Evergreen-Browsers are supported

  • Google Chrome
  • Microsoft Edge
  • Mozilla Firefox
  • Opera

Demo

Demo at stackblitz ngx-editor

Documentation

Documentation is auto-generated using compodoc, and can be viewed here: https://sibiraj-s.github.io/ngx-editor/

About

A Simple WYSIWYG Editor used in Gantner Electronic Products

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 54.0%
  • HTML 26.1%
  • CSS 15.8%
  • JavaScript 3.8%
  • Shell 0.3%