Skip to content

Yii2 Summernote widget. Super simple WYSIWYG editor on Bootstrap

License

Notifications You must be signed in to change notification settings

siamskoi/yii2-summernote

 
 

Repository files navigation

Yii2 Summernote widget. Summernote 0.8.0

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 marqu3s/yii2-summernote "dev-master"

or add

"marqu3s/yii2-summernote": "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

Original Author

Aleksandr Zelenin, e-mail: [email protected]

Updates by

João Marques, e-mail: [email protected]

About

Yii2 Summernote widget. Super simple WYSIWYG editor on Bootstrap

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%