grevoman / easyeditor-yii2
This package is abandoned and no longer maintained.
No replacement package was suggested.
Example project. Yii2 widget for im4aLL/easyeditor WYSISYG editor
Package info
github.com/grevoman/yii2easyeditor
Language:JavaScript
Type:yii2-widget
pkg:composer/grevoman/easyeditor-yii2
1.1.3
2019-07-22 19:46 UTC
Requires
- yiisoft/yii2: ^2.0
README
This Yii2 widget allows to make use of Easy editor, a jQuery richtext html / wysiwyg editor, (very lightweight, easy and simple) Habib Hadi.
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require grevoman/easyeditor-yii2
or add
"grevoman/easyeditor-yii2": "^1.0"
to the require section of your composer.json file.
Usage
Simple usage:
use grevoman\yii2easyeditor\widgets\EasyEditor;
<?= EasyEditor::widget([
]) ?>
Advanced usage:
use grevoman\yii2easyeditor\widgets\EasyEditor;
<?= EasyEditor::widget([
'elementId' => 'test',
'buttons' => "'bold', 'italic', 'link', 'x'",
])