PHPackages                             dbursak/yii2-tinymce-widget - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. dbursak/yii2-tinymce-widget

ActiveYii2-extension

dbursak/yii2-tinymce-widget
===========================

TinyMCE widget for Yii2.

1.1(6y ago)072BSD-3-ClauseJavaScript

Since Nov 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mnml91/yii2-tinymce-widget)[ Packagist](https://packagist.org/packages/dbursak/yii2-tinymce-widget)[ RSS](/packages/dbursak-yii2-tinymce-widget/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

TinyMCE Widget for Yii2
=======================

[](#tinymce-widget-for-yii2)

Renders a [TinyMCE WYSIWYG text editor plugin](http://www.tinymce.com/) widget.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require dbursak/yii2-tinymce-widget:1.0

```

or add

```
"dbursak/yii2-tinymce-widget" : "1.0"
```

to the require section of your application's `composer.json` file.

Usage
-----

[](#usage)

```

use dosamigos\tinymce\TinyMce;

```

### About ClientOptions

[](#about-clientoptions)

Please, remember that if you are required to add javascript to the configuration of the js plugin and is required to be plain JS, make use of `JsExpression`. That class was made by Yii for that specific purpose. For example:

```
// Having the following scenario

    function jsFunctionToBeCalled() {
        // ...
    }
