erm1lov / yii2-summernote-widget-new

Yii2 Summernote widget. Super simple WYSIWYG editor on Bootstrap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yii2 Summernote widget. Summernote 0.6.16

Yii2 Summernote widget. Super simple WYSIWYG editor on Bootstrap

Installation

Composer

The preferred way to install this extension is through Composer.

Either run

php composer.phar require zelenin/yii2-summernote-widget "dev-master"

or add

"germanigortcev/yii2-summernote-widget": "dev-master"

to the require section of your composer.json

Usage

<?= $form->field($model, 'content')->widget(Summernote::className(), [
	'clientOptions' => [
		...
	]
]) ?>

or

<?= Summernote::widget([
	'name' => 'editor_id',
	'clientOptions' => [
		...
	]
]) ?>

See clientOptions

Author

Aleksandr Zelenin, e-mail: aleksandr@zelenin.me

About

Yii2 Summernote widget. Super simple WYSIWYG editor on Bootstrap

License:MIT License


Languages

Language:PHP 100.0%