floor12/yii2-summernote This Yii2 component helps to organize page title, meta tags and `og` and `twitter` open graph tags in with a fiew lines of code.


  1. Installation
  2. Usage

The Summernote WYSIWYG-editor Yii-widget, with all included assets.

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Widget example


Install the widget via composer: Execute the command

$ composer require floor12/yii2-summernote


The simplest example:

use floor12\summernote\Summernote;

echo Summernote::widget(['name' => 'some_field'])

TheActiveForm and ActiveRecord model example:

$form = ActiveForm::begin();

echo $form->field($model, 'content_ru')

An example of integrating with my files module to intercept editors uploads, save them separately and then use in the editor.

$form = ActiveForm::begin();

echo $form->field($model, 'content_ru')
    ->widget(Summernote::class, [
        'fileField' => 'imagesDesktop',
        'fileModelClass' => $model::class

echo $form->field($model, 'imagesDesktop')


Working example

1 0
1 follower
6 269 downloads
Yii Version: 2.0
License: MIT
Category: User Interface
Developed by: floor12
Created on: Jul 23, 2022
Last updated: (not set)
Packagist Profile
Github Repository

Related Extensions