@ec.components/tinymce
This package wraps the tinymce editor as an Angular Component.
Overview
Installation
1. Install package
npm install @ec.components/tinymce --save
2. Add Module
import { TinymceModule } from '@ec.components/tinymce';
@NgModule({
imports: [TinymceModule],
})
export class AppModule {}
3. Add styles files to angular.json
"styles": [
"node_modules/tinymce/skins/lightgray/skin.min.css",
"node_modules/tinymce/skins/lightgray/content.min.css"
],
4. Use it
<ec-tinymce [(ngModel)]="html" (change)="change($event)"></ec-tinymce>