@ec.components/medium-editor

Wraps medium-editor for optimal use in ec.components forms

Stats

StarsIssuesVersionUpdatedCreatedSize
@ec.components/medium-editor
0.6.05 months ago4 years agoMinified + gzip package size for @ec.components/medium-editor in KB

Readme

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

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.