2017 © Pedro Peláez
 

yii2-extension yii2-simditor

editor for yii2 framework

image

anxu/yii2-simditor

editor for yii2 framework

  • Wednesday, June 21, 2017
  • by anxu
  • Repository
  • 1 Watchers
  • 1 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Install

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

Either run, (*2)

$ php composer.phar require  anxu/yii2-simditor "*"

or add, (*3)

"anxu/yii2-simditor": "*"

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

Usage

Like a widget

echo \anxu\Yii2Simditor::widget([
    'toolbarSet'=>[
        'toolbarHidden'=>false,
        'toolbar'=>[//default true
            'title',
            'bold',
            'italic',
            'underline',
            'strikethrough',
            'fontScale'
        ]
    ]
]);

Like an ActiveForm widget

use anxu\Yii2Simditor;
echo  $form->field($model, 'content')->widget(Yii2Simditor::classname(),[
    'toolbarSet'=>[
        'toolbarHidden'=>false,
        'toolbar'=>[//default true
            'title',
            'bold',
            'italic',
            'underline',
            'strikethrough',
            'fontScale'
        ]
    ]
]);

For other options, refer to this website http://simditor.tower.im/, (*5)

The Versions

21/06 2017

dev-master

9999999-dev

editor for yii2 framework

  Sources   Download

MIT

The Requires

 

by Avatar anxu

04/05 2016

v0.0.3

0.0.3.0

editor for yii2 framework

  Sources   Download

MIT

The Requires

 

by Avatar anxu

28/04 2016

v0.0.2

0.0.2.0

editor for yii2 framework

  Sources   Download

MIT

The Requires

 

by Avatar anxu

28/04 2016

v0.0.1

0.0.1.0

editor for yii2 framework

  Sources   Download

MIT

The Requires

 

by Avatar anxu