@ec.components/tinymce

Wraps tinymce editor for optimal use in ec.components forms

Stats

StarsIssuesVersionUpdatedCreatedSize
@ec.components/tinymce
0.7.05 months ago4 years agoMinified + gzip package size for @ec.components/tinymce in KB

Readme

@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>

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.