@ec.components/medium-editor

This package wraps the medium-editor as an Angular Directive.

Overview

Installation

1. Install package

npm install @ec.components/medium-editor --save

2. Add Module

import { MediumModule } from '@ec.components/medium-editor';

@NgModule({
  imports: [MediumModule],
})
export class AppModule {}

3. Use it

<ec-medium-editor
  [(model)]="myHTML"
  [options]="{'toolbar': {'buttons': ['bold', 'italic', 'underline', 'h1', 'h2', 'h3']}}"
></ec-medium-editor>

result-matching ""

    No results matching ""