PHPackages                             easedevs/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. easedevs/yii2-tinymce-widget

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

easedevs/yii2-tinymce-widget
============================

TinyMCE widget for Yii2.

2.2.0(2y ago)217.8k↑32.2%BSD-3-ClauseJavaScriptPHP &gt;=7.1

Since Sep 14Pushed 1y agoCompare

[ Source](https://github.com/EaseDevs/yii2-tinymce-widget)[ Packagist](https://packagist.org/packages/easedevs/yii2-tinymce-widget)[ RSS](/packages/easedevs-yii2-tinymce-widget/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (8)Used By (0)

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

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

[![Latest Version](https://camo.githubusercontent.com/805de9ca3551c4fed3edf3365562988670de95a5748da3af4eca4499ed8489b8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f65617365646576732f796969322d74696e796d63652d7769646765742e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://github.com/easedevs/yii2-tinymce-widget/releases)[![Software License](https://camo.githubusercontent.com/b60331a2084501dc07cf6d6964c0da58dd005d89c45cf3b28b4b22b60f5ec00f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/ab79e6616b4350af7719b80bb5656e4d6c3798954756bf6ec391561038f26eef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f65617365646576732f796969322d74696e796d63652d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/easedevs/yii2-tinymce-widget)

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 easedevs/yii2-tinymce-widget:~2.0

```

or add

```
"easedevs/yii2-tinymce-widget": "~2.0"
```

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

Usage
-----

[](#usage)

```

use easedevs\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() {
        // ...
    }
