2017 © Pedro Peláez
 

yii2-extension yii2-aceeditor

Yii2 ajax.org Ace Editor widget

image

trntv/yii2-aceeditor

Yii2 ajax.org Ace Editor widget

  • Wednesday, April 4, 2018
  • by trntv
  • Repository
  • 5 Watchers
  • 38 Stars
  • 87,576 Installations
  • PHP
  • 23 Dependents
  • 0 Suggesters
  • 16 Forks
  • 0 Open issues
  • 8 Versions
  • 8 % Grown

The README.md

Ace Editor Widget For Yii2

About

It is Ace Editor integration for Yii2 framework., (*1)

Demo

Since this package was created as a part of (Yii2 Starter Kit)yii2-starter-kit it's demo can be found in starter kit demo here (login: webmaster, password: webmaster), (*2)

Ace Editor demo can be found here, (*3)

Installation

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

Either run, (*5)

php composer.phar require trntv/yii2-aceeditor

or add, (*6)

"trntv/yii2-aceeditor": "^2.0.0"

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

Usage

Using model, (*8)

trntv\aceeditor\AceEditor::widget([
    // You can either use it for model attribute
    'model' => $my_model,
    'attribute' => 'my_field',

    // or just for input field
    'name' => 'my_input_name',

    'mode'=>'html', // programing language mode. Default "html"
    'theme'=>'github', // editor theme. Default "github"
    'readOnly'=>'true' // Read-only mode on/off = true/false. Default "false"
]);

With active field, (*9)

$form->field($model, 'field')->widget(
        'trntv\aceeditor\AceEditor',
        [
            'mode'=>'html', // programing language mode. Default "html"
            'theme'=>'github', // editor theme. Default "github"
            'readOnly'=>'true' // Read-only mode on/off = true/false. Default "false"
        ]
    )

Lists of all available modes and themes see here, (*10)

The Versions

04/04 2018

dev-master

9999999-dev

Yii2 ajax.org Ace Editor widget

  Sources   Download

BSD-3-Clause

The Requires

 

by Eugine Terentev

yii code editor aceeditor

04/04 2018

2.1.2

2.1.2.0

Yii2 ajax.org Ace Editor widget

  Sources   Download

BSD-3-Clause

The Requires

 

yii code editor aceeditor

20/03 2018

2.1.1

2.1.1.0

Yii2 ajax.org Ace Editor widget

  Sources   Download

BSD-3-Clause

The Requires

 

yii code editor aceeditor

26/07 2017

2.1.0

2.1.0.0

Yii2 ajax.org Ace Editor widget

  Sources   Download

BSD-3-Clause

The Requires

 

yii code editor aceeditor

22/11 2016

2.0.2

2.0.2.0

Yii2 ajax.org Ace Editor widget

  Sources   Download

BSD-3-Clause

The Requires

 

by Eugine Terentev

yii code editor aceeditor

26/09 2016

2.0.1

2.0.1.0

Yii2 ajax.org Ace Editor widget

  Sources   Download

BSD-3-Clause

The Requires

 

by Eugine Terentev

yii code editor aceeditor

18/12 2014

2.0.0

2.0.0.0

Yii2 ajax.org Ace Editor widget

  Sources   Download

BSD-3-Clause

The Requires

 

by Eugine Terentev

yii code editor aceeditor

01/10 2014

1.0.0

1.0.0.0

Yii2 ajax.org Ace Editor widget

  Sources   Download

BSD-3-Clause

The Requires

 

by Eugine Terentev

yii code editor aceeditor