Skip to content

Getting started

Installation is performed using npm, just pick the right version from the compatibility table.

Compatibility

Angular versionNgx simple text editor versionFont awesome version
9 - 130.0.0 - 1.x.x5.0.0-6.x.x
142.x.x5.0.0-6.x.x
153.x.x5.0.0-6.x.x
164.x.x5.0.0-6.x.x
17 - 195.x.x5.0.0-6.x.x

Instalation

npm install ngx-simple-text-editor --save

then add NgxSimpleTextEditorModule into module imports

typescript
import {NgxSimpleTextEditorModule} from 'ngx-simple-text-editor';

@NgModule({
// ...
  imports: [
    // ...
    NgxSimpleTextEditorModule,
    // ...
  ],
// ...
})

If you want to use default button icons, you must install Font awesome. npm install @fortawesome/fontawesome-free and declare in styles in angular.json

json
...
"styles": [
  "src/styles.scss",
  "node_modules/@fortawesome/fontawesome-free/css/all.css"
]
...

Released under the MIT License.