Yii2 Summernote widget. Super simple WYSIWYG editor on Bootstrap
The preferred way to install this extension is through Composer.
Either run
php composer.phar require marqu3s/yii2-summernote "dev-master"
or add
"marqu3s/yii2-summernote": "dev-master"
to the require section of your composer.json
<?= $form->field($model, 'content')->widget(Summernote::className(), [
'clientOptions' => [
...
]
]) ?>
or
<?= Summernote::widget([
'name' => 'editor_id',
'clientOptions' => [
...
]
]) ?>
See clientOptions
Aleksandr Zelenin, e-mail: [email protected]
João Marques, e-mail: [email protected]