# ng2sf-tinymce

> A TinyMce widget for Angular2 Schema Form.

Latest version **1.0.7** (published 2016-11-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install ng2sf-tinymce
pnpm add ng2sf-tinymce
yarn add ng2sf-tinymce
bun add ng2sf-tinymce
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2016-11-01 |
| First published | 2016-09-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+19 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Frank Bessou |
| Maintainers | fbessou |
| Keywords | tinymce, angular |

## Links

- npm: https://www.npmjs.com/package/ng2sf-tinymce
- Repository: https://github.com/fbessou/ng2sf-tinymce
- Homepage: https://github.com/fbessou/ng2sf-tinymce#readme
- Issues: https://github.com/fbessou/ng2sf-tinymce/issues
- npm.io page: https://npm.io/package/ng2sf-tinymce

## Dependencies (1)

- [tinymce](https://npm.io/package/tinymce.md) ^4.4.2

## Recent versions

- 1.0.7 (latest) — 2016-11-01
- 1.0.6 — 2016-09-08
- 1.0.5 — 2016-09-06
- 1.0.4 — 2016-09-06
- 1.0.3 — 2016-09-02
- 1.0.2 — 2016-09-02
- 1.0.1 — 2016-09-02
- 1.0.0 — 2016-09-01

## README

# TinyMCE widget for Angular2 Schema Form

## Install

```bash
    npm install ng2sf-tinymce
```

## Usage

Add `Ng2SFTinyMCEModule` wherever you need it in your dependency tree:

```js

    import { SchemaFormModule } from "angular2-schema-form";
    import { Ng2SFTinyMCEModule } from "ng2sf-tinymce";

    @NgModule({
        imports: [
            BrowserModule,
            /*...*/
            SchemaFormModule,
            Ng2SFTinyMCEModule
        ],
        declarations: [AppComponent, /*...*/]
    })
    export class AppModule {}
```

Register the TinyMCEWidget in your `WidgetRegistry`:

```js
    import { WidgetRegistry } from "angular2-schema-form"; 
	import { TinyMCEWidget } from "ng2sf-tinymce";

    @Component({/*...*/})
    export class AppComponent {
        constructor(widgetRegistry: WidgetRegistry) {
            widgetRegistry.register("tinymce", TinyMCEWidget);
        }
    }
```

Use the `tinymce` widget's id in your schema:

```js
    {
        "type": "object",
        "properties": {
            "type": "string",
            "description": "A richtext input",
            "widget": "tinymce"
        }
    }
```

---
_Source: https://npm.io/package/ng2sf-tinymce · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
