JSPM

ngx-tinymce-editor

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q23842F
  • License MIT

angular5+ tinymce editor

Package Exports

  • ngx-tinymce-editor

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ngx-tinymce-editor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ngx-tinymce-editor NPM version

Tinymce Components build with Angular.

Installation instructions

  1. Install tinymce from npm
  2. Install ngx-tinymce-editor from npm
npm install tinymce --save
npm install ngx-tinymce-editor --save

Recommend:

  1. Import the ngx-tinymce-editor in to your root AppModule.
  2. Copy the node_modules/tinymce/skins in to your directory assets/tinymce/skins.
import { NgxTinymceModule } from 'ngx-tinymce-editor';

@NgModule({
    imports: [
        NgxTinymceModule.forRoot()
    ]
})
export class AppModule { }

Usage

import { Component } from '@angular/core';

@Component({
  selector: 'my-app',
  template: `<ngx-tinymce-editor [(content)]="content" [upload]="{url:'http://files.upload.url',fileKey:'file'}"></ngx-tinymce-editor>`
})
export class AppComponent  {
    content = ``;
}

How to use it with:

  • angular-cli please refer to Installation instructions.

API

Name Type Default Description
content string "" editor content
height string "500px" editor content
upload object null upload image config
readonly any false editor read only

Troubleshooting

Please follow this guidelines when reporting bugs and feature requests:

  1. Use GitHub Issues board to report bugs and feature requests (not our email address)
  2. Please always write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.

Thanks for understanding!

License

The MIT License (see the LICENSE file for the full text)