2017 © Pedro Peláez
 

yii2-extension yii2-umeditor

UMeditor is a simple version ueditor.

image

shiyang/yii2-umeditor

UMeditor is a simple version ueditor.

  • Monday, February 1, 2016
  • by Shiyang
  • Repository
  • 2 Watchers
  • 9 Stars
  • 141 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 4 Versions
  • 3 % Grown

The README.md

yii2-umeditor

UMeditor is a simple version ueditor., (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist shiyang/yii2-umeditor "*"

or add, (*4)

"shiyang/yii2-umeditor": "*"

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

Usage

Once the extension is installed, simply use it in your code by :, (*6)

controller:, (*7)

public function actions()
{
    return [
        'upload' => [
            'class' => 'shiyang\umeditor\UMeditorAction',
        ]
    ];
}

view:, (*8)



= $form->field($model, 'content')->widget('shiyang\umeditor\UMeditor', [
    'clientOptions' => [
        'initialFrameHeight' => 100,
        'toolbar' => [
            'source | undo redo | bold |',
            'link unlink | emotion image video |',
            'justifyleft justifycenter justifyright justifyjustify |',
            'insertorderedlist insertunorderedlist |' ,
            'horizontal preview fullscreen',
        ],
    ]
])->label(false) ?>



= Html::submitButton('Create', ['class' => 'btn btn-primary']) ?>

Further Information

Please, check the Umeditor plugin site or config documentation for further information about its configuration options., (*9)

Demo

See umeditor, (*10)

The Versions

01/02 2016

dev-master

9999999-dev

UMeditor is a simple version ueditor.

  Sources   Download

MIT

The Requires

 

by Avatar Shiyang

extension yii2 umeditor

01/02 2016

v1.2

1.2.0.0

UMeditor is a simple version ueditor.

  Sources   Download

MIT

The Requires

 

by Avatar Shiyang

extension yii2 umeditor

20/07 2015

v1.1

1.1.0.0

UMeditor is a simple version ueditor.

  Sources   Download

MIT

The Requires

 

by Avatar Shiyang

extension yii2 umeditor

17/07 2015

v1.0

1.0.0.0

UMeditor is a simple version ueditor.

  Sources   Download

MIT

The Requires

 

by Avatar Shiyang

extension yii2 umeditor