@ec.components/tinymce
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @ec.components/tinymce

Weekly Downloads

2

Version

0.7.0

License

none

Unpacked Size

120 kB

Total Files

19

Last publish

Collaborators

  • felixroos
  • scherzinger