jaslin / yii2-kindeditor
simply kindeditor for yii2 textarea with image upload controller
Installs: 196
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
Language:JavaScript
Type:yii2-extension
Requires
- php: >=5.4
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2025-04-12 20:59:43 UTC
README
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);