2017 © Pedro Peláez
 

yii2-extension yii2-meditor

Yii2 publish editor using froala jquery

image

muhiddingithub/yii2-meditor

Yii2 publish editor using froala jquery

  • Thursday, October 26, 2017
  • by mjumaniyazoff
  • Repository
  • 0 Watchers
  • 0 Stars
  • 9 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

yii2-meditor

Yii2 publish editor using froala jquery, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require muhiddingithub/yii2-meditor "dev-master"

or add, (*4)

"muhiddingithub/yii2-meditor": "dev-master"

to the require section of your composer.json file., (*5)

Jquery source, (*6)

Usage

with ActiveForm, (*7)

$form->field($model, 'body')->widget(\muhiddin\meditor\FroalaEditor::className(), [
        'options' => [
            'height' => '400px',
            'imageManagerPageSize' => 2
        ]
    ])

Simple Usage

echo \muhiddin\meditor\FroalaEditor::widget([
        'name'=>'name',
        'value'=>'',
        'form'=>$form,// if has $form ActiveForm, else not set
        'model'=>$model, // if has $model extend Model, else not set
        'options' => [
            'height' => '400px',
            'imageManagerPageSize' => 2
        ]
    ])

config

'components' => [
  ...
    'modules'=>[
      ...
      'meditor' => [
            'class' => 'muhiddin\meditor\Module',
        ]
      ...
    ]
  ...
  ]

The Versions

26/10 2017

dev-master

9999999-dev

Yii2 publish editor using froala jquery

  Sources   Download

MIT

by Muxiddin Jumaniyazov

extension yii2 jquery widget editor froala wysiwyg-editor muhiddin meditor

26/10 2017

1.0

1.0.0.0

Yii2 publish editor using froala jquery

  Sources   Download

MIT

by Muxiddin Jumaniyazov

extension yii2 jquery widget editor froala wysiwyg-editor muhiddin meditor