angular2-tinymce
Advanced tools
Comparing version 2.1.0 to 2.1.1
import { OnDestroy, AfterViewInit, NgZone } from '@angular/core'; | ||
import { ControlValueAccessor } from '@angular/forms'; | ||
import { TinymceOptions } from './angular2-tinymce.config.interface'; | ||
import 'tinymce/tinymce'; | ||
import 'tinymce/tinymce.min'; | ||
import 'tinymce/themes/modern/theme'; | ||
@@ -6,0 +6,0 @@ import 'tinymce/plugins/link/plugin.js'; |
@@ -18,3 +18,3 @@ "use strict"; | ||
var angular2_tinymce_default_1 = require("./angular2-tinymce.default"); | ||
require("tinymce/tinymce"); | ||
require("tinymce/tinymce.min"); | ||
require("tinymce/themes/modern/theme"); | ||
@@ -21,0 +21,0 @@ require("tinymce/plugins/link/plugin.js"); |
{ | ||
"name": "angular2-tinymce", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Angular component for TinyMCE MCE WYSIWYG editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
# angular2-tinymce | ||
`Compatible with Angular 4!` | ||
`Now compatible with Angular 4.0.1 with AOT support!` | ||
@@ -12,6 +12,6 @@ ## Usage | ||
Then copy lightgray skin from [here] (https://github.com/Ledzz/angular2-tinymce/tree/master/demo/assets/tinymce/skins/lightgray) to the `/assets` folder. So, i.e. there must be available `/assets/tinymce/skins/lightgray/skin.min.css` file. | ||
Then copy lightgray skin from [here] (tinymce/skins/lightgray) to the `/assets` folder. So, i.e. there must be available `/assets/tinymce/skins/lightgray/skin.min.css` file. | ||
You can override skin path by specifying `skin_url` option (default `/assets/tinymce/skins/lightgray`). | ||
Import `TinymceModule` in you `app.module.ts`: | ||
Import `TinymceModule` in you `app.module.ts` like this: | ||
```typescript | ||
@@ -23,3 +23,3 @@ import { TinymceModule } from 'angular2-tinymce'; | ||
... | ||
TinymceModule.withConfig() | ||
TinymceModule.withConfig({}) | ||
], | ||
@@ -63,3 +63,3 @@ ... | ||
- `setup` and `init_instance_callback` are executed after the components'. | ||
- You can view more info about supported options [here] (https://github.com/Ledzz/angular2-tinymce/blob/master/src/angular2-tinymce.config.interface.ts) | ||
- You can view more info about supported options [here] (src/angular2-tinymce.config.interface.ts) | ||
@@ -96,2 +96,3 @@ ## Plugins | ||
- [x] Tinymce configuration | ||
- [x] Aot support | ||
- [ ] Per-editor configuration | ||
@@ -101,3 +102,2 @@ - [ ] Add github pages demo | ||
- [ ] Events | ||
- [ ] Aot support | ||
- [ ] Tests |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6
435497