2017 © Pedro Peláez
 

yii2-extension yii2-ace-widget

Yii2 ACE widget

image

devgroup/yii2-ace-widget

Yii2 ACE widget

  • Monday, December 26, 2016
  • by evgen-d
  • Repository
  • 17 Watchers
  • 3 Stars
  • 11,345 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 2 % Grown

The README.md

ACE Editor Extension for Yii 2

This extension provides the ACE integration for the Yii2 framework., (*1)

Installation

This extension requires ace-builds, (*2)

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

Either run, (*4)

php composer.phar require --prefer-dist devgroup/yii2-ace-widget "*"

or add, (*5)

"devgroup/yii2-ace-widget": "*"

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

General Usage

use devgroup\ace\Ace;

Ace::widget([
    'mode' => 'php', // editor mode
    'name' => '', // editor name
    'options' => [], // html options
    'theme' => 'github', // editor theme
    'value' => '', // editor default value
]);

or, (*7)

in view file, (*8)

<?= yii\helpers\Html::textarea('', '', ['data-editor' => 'html', 'data-read-only' => false]) ?>

and your controller, (*9)

use devgroup\ace\AceHelper

...
AceHelper::setAceScript(controller, theme);
...

The Versions

26/12 2016

dev-master

9999999-dev

Yii2 ACE widget

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by Evgeny Dubovitsky

yii2 ace ace-editor

26/12 2016

v1.3.0

1.3.0.0

Yii2 ACE widget

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by Evgeny Dubovitsky

yii2 ace ace-editor

15/12 2015

1.2.0

1.2.0.0

Yii2 ACE widget

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by Evgeny Dubovitsky

yii2 ace ace-editor

16/01 2015

1.1.0

1.1.0.0

Yii2 ACE widget

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by Evgeny Dubovitsky

yii2 ace ace-editor

16/12 2014

v1.0.0

1.0.0.0

Yii2 ACE widget

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by Evgeny Dubovitsky

yii2 ace ace-editor