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

0.6.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @ec.components/medium-editor

Weekly Downloads

0

Version

0.6.0

License

none

Unpacked Size

65.4 kB

Total Files

17

Last publish

Collaborators

  • felixroos
  • scherzinger