Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular2-tinymce

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-tinymce - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

dist/angular2-tinymce.component.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc