franciscomaya / yii2-sceditor
SCEditor, a lightweight WYSIWYG BBCode & HTML editor extension for Yii 2.0 Framework
Installs: 12 408
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 1
Open Issues: 1
Language:JavaScript
Type:yii2-extension
pkg:composer/franciscomaya/yii2-sceditor
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2025-12-24 14:53:30 UTC
README
SCEditor, a lightweight WYSIWYG BBCode & HTML editor extension for Yii 2.0 Framework
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require franciscomaya/yii2-sceditor:dev-master
or add
"franciscomaya/yii2-sceditor" : "dev-master"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
use franciscomaya\sceditor\SCEditor; <?= $form->field($model, 'text')->widget(SCEditor::className(), [ 'options' => ['rows' => 6], 'clientOptions' => [ 'plugins' => 'bbcode', ] ]) ?>
Further Information
Please, check the SCEditor plugin site documentation for further information about its configuration options.