rogeecn/yii2-ueditor

baidu ueditor/umeditor for yii2 framework,switch between full to mini easily.

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:yii2-extension

dev-master 2015-06-16 08:49 UTC

This package is auto-updated.

Last update: 2024-04-05 17:48:17 UTC


README

baidu ueditor for yii2 framework

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist rogeecn/yii2-ueditor "*"

or add

"rogeecn/yii2-ueditor": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

//use mini editor 
<?= $form->field($model, 'name')->widget(UEditor\Mini::className());?>

//use full feature editor
<?= $form->field($model, 'name')->widget(UEditor\Mini::className());?>