2017 © Pedro Peláez
 

yii2-extension yii2-aceeditor

Yii2 ajax.org Ace Editor widget

image

lav45/yii2-aceeditor

Yii2 ajax.org Ace Editor widget

  • Monday, July 11, 2016
  • by LAV45
  • Repository
  • 1 Watchers
  • 2 Stars
  • 1,878 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 4 Versions
  • 5 % Grown

The README.md

Yii 2 widget AceEditor

This extension allows you to install and use the code editor Ace, (*1)

DEMO, (*2)

Installation

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

Either run, (*4)

php composer.phar require --prefer-dist lav45/yii2-aceeditor "1.2.*"

or add, (*5)

"lav45/yii2-aceeditor": "1.2.*"

Usage

How to call?

use lav45\aceEditor\AceEditorWidget;

echo $form->field($model, 'content')->widget(AceEditorWidget::className(), [
    'theme' => 'xcode',
    'mode' => 'html',
    'showPrintMargin' => false,
    'fontSize' => 14,
    'height' => 300,
    'options' => [
        'style' => 'border: 1px solid #ccc; border-radius: 4px;'
    ]
]);

// Ace editor without model
echo AceEditorWidget::widget([
    'name' => 'description',
    'value' => 'same text',
]);

The Versions

11/07 2016

dev-master

9999999-dev

Yii2 ajax.org Ace Editor widget

  Sources   Download

BSD-3-Clause

The Requires

 

by Alex Loban

yii2 code editor aceeditor

01/07 2015

1.1.1

1.1.1.0

Yii2 ajax.org Ace Editor widget

  Sources   Download

BSD-3-Clause

The Requires

 

by Alex Loban

yii2 code editor aceeditor

09/04 2015

1.1.0

1.1.0.0

Yii2 ajax.org Ace Editor widget

  Sources   Download

BSD-3-Clause

The Requires

 

by Alex Loban

yii2 code editor aceeditor

10/10 2014

1.0.0

1.0.0.0

Yii2 ajax.org Ace Editor widget

  Sources   Download

BSD-3-Clause

The Requires

 

by Alex Loban

yii2 code editor aceeditor