Skip to content

JasLin/yii2-kindeditor

Repository files navigation

Yii2-kindeditor is extention for Yii Framework 2.0

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

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

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

Usage Example

In config

'modules'=>[
    'upload' => [
        'class' => 'jaslin\kindeditor\Module',
    ],
]

In view

echo $form->field($model, 'content')->widget(jaslin\kindeditor\KindEditor::className(), ['options' => [],'configs' => []]);

## configs http://kindeditor.net/docs/option.html

HighLight Code Example

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

About

yii2 kinditor extensions simply

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published