crazycoder/yii2-kindeditor

kindeditor for yii2 textarea

dev-master 2014-10-29 12:31 UTC

This package is not auto-updated.

Last update: 2025-07-05 20:16:02 UTC


README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require "crazycoder/yii2-kindeditor" "dev-master"

or add

"crazycoder/yii2-kindeditor": "dev-master"

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

Usage Example

echo $form->field($model, 'post')->widget(crazycoder\kindeditor\KindEditor::className(), [
    'options' => [
        
    ],
    'configs' => [
        'width' => '100%',
        'minHeight' => '400px',
        'resizeType' => '1',
    ]
]);
## configs http://kindeditor.net/docs/option.html

HighLight Code Example

crazycoder\kindeditor\LightAsset::register($this);