0.4.1 • Published 6 years ago

ngx-medium-editor v0.4.1

Weekly downloads
104
License
MIT
Repository
github
Last release
6 years ago

ngx-medium-editor

by @ysfMag

Installation

To install this library, run:

$ npm install ngx-medium-editor --save
$ npm install  medium-editor --save

Consuming ngx-medium-editor library

From your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import ngxMediumModule
import { ngxMediumModule } from 'ngx-medium-editor';

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    // Specify this Module as an import
    ngxMediumModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

You need to add css in your style:

<!-- import meduim-editor style in styles.css -->
@import "~medium-editor/dist/css/medium-editor.min.css";
@import "~medium-editor/dist/css/themes/default.min.css"; 

License

MIT © youssef-mag

0.4.1

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago