0.1.5 • Published 8 years ago
yg-widget v0.1.5
yg-widget 
Installation instructions
Install yg-widget from npm
npm install yg-widget --saveRecommend: You will need tinymce.min.js file via Build Customizer generate.
Import the yg-widget in to your root AppModule.
import { NgxTinymceModule } from 'yg-widget';
@NgModule({
imports: [
NgxTinymceModule.forRoot({
baseURL: './assets/tinymce/',
// or cdn
baseURL: '//cdn.bootcss.com/tinymce/4.7.4/'
})
]
})
export class AppModule { }Usage
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
template: `<tinymce [(ngModel)]="html"></tinymce>`
})
export class AppComponent {
html = ``;
}How to use it with:
angular-cliplease refer to Installation instructions.stackblitzsample available here.
API
| Name | Type | Default | Summary |
|---|---|---|---|
| config | any | see configure | |
| loading | string,TemplateRef | - | Loading status of tinymce |
Troubleshooting
Please follow this guidelines when reporting bugs and feature requests:
- Use GitHub Issues board to report bugs and feature requests (not our email address)
- 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)
0.1.5
8 years ago
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago
0.0.21
8 years ago
0.0.20
8 years ago
0.0.19
8 years ago
0.0.18
8 years ago
0.0.17
8 years ago
0.0.16
8 years ago
0.0.15
8 years ago
0.0.14
8 years ago
0.0.13
8 years ago
0.0.12
8 years ago
0.0.11
8 years ago
0.0.10
8 years ago
0.0.9
8 years ago
0.0.8
8 years ago
0.0.7
8 years ago
0.0.6
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago