An open API service indexing awesome lists of open source software.

https://github.com/yiier/yii2-xheditor

XhEditor WYSIWYG widget for Yii2.
https://github.com/yiier/yii2-xheditor

Last synced: 2 months ago
JSON representation

XhEditor WYSIWYG widget for Yii2.

Awesome Lists containing this project

README

        

yii2-xheditor
=============

XhEditor WYSIWYG widget for Yii2.

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

add

```json

"yiier/yii2-xheditor" : "*"
```

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

add this too ^_^
```json

"repositories":[
{
"type":"vcs",
"url":"https://github.com/yiier/yii2-xheditor"
}
],

```

basic usage :
---------------
~~~

use yiier\xheditor\XhEditor;

= $form->field($model, 'text')->widget(XhEditor::className(), [
'options' => ['rows' => 6],
]) ?>

~~~