Skip to content

Yii2 Summernote widget. Super simple WYSIWYG editor on Bootstrap

License

Notifications You must be signed in to change notification settings

cybercog/yii2-summernote-widget

 
 

Repository files navigation

Yii2 Summernote widget

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

"zelenin/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

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • PHP 100.0%