PHPackages                             sandritsch91/yii2-froala-editor - 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. sandritsch91/yii2-froala-editor

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

sandritsch91/yii2-froala-editor
===============================

Yii2 Froala Editor widget extended from froala/yii2-froala-editor

1.1.2(1y ago)0606↓80%BSD-3-ClauseJavaScriptPHP &gt;=8.2

Since Sep 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Sandritsch91/yii2-froala-editor)[ Packagist](https://packagist.org/packages/sandritsch91/yii2-froala-editor)[ RSS](/packages/sandritsch91-yii2-froala-editor/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

yii2-froala-editor
==================

[](#yii2-froala-editor)

Extension for froala/yii2-froala-editor

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist sandritsch91/yii2-froala-editor
```

or add

```
"sandritsch91/yii2-froala-editor": "*"
```

to the require section of your composer.json

Default configuration
---------------------

[](#default-configuration)

This widget extends the original FroalaEditor Widget. This had to be done to be able to configure the FroalaEditor in the Yii2 way. I also added a few default options, you can overwrite them in the configuration of the application, or in the configuration of the widget.

### Product key

[](#product-key)

You can set the product key in the (local) configuration of the application:

```
'container' => [
    'definitions' => [
        'sandritsch91\yii2\froala\FroalaEditor' => [
            'defaultClientOptions' => [
                'key' => 'YOUR_PRODUCT_KEY',
            ]
        ]
    ]
]
```

Plugins
-------

[](#plugins)

The original FroalaEditor adds the plugins dynamically, which makes it impossible to configure them in the Yii2 way. They are all loaded by default, but you can disable them in the configuration of the widget:

```
