2017 © Pedro Peláez
 

yii2-extension yii2-ace-widget

The ace extension for the Yii framework

image

xutl/yii2-ace-widget

The ace extension for the Yii framework

  • Friday, November 4, 2016
  • by xutl
  • Repository
  • 0 Watchers
  • 0 Stars
  • 67 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

适用于 Yii2 的 ACE 扩展

该插件非免费插件也不授权任何人使用。, (*1)

安装

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

Either run, (*3)

composer require --prefer-dist xutl/yii2-ace-widget

or add, (*4)

"xutl/yii2-ace-widget": "~1.0"

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

使用

一但安装了该扩展,可以使用下面的代码调用编辑器 :, (*6)

```php = \xutl\ace\AceEdit::widget( [ 'mode'=>'html', 'theme'=>'github', 'containerOptions'=>[ 'style'=>'width: 100%; min-height: 400px', ] ] ); ?>, (*7)


在表单中使用 ```php = \xutl\ace\AceEditInput::widget( [ 'model'=>$model, 'attribute'=>$attribute, 'mode'=>'html', 'theme'=>'github', 'containerOptions'=>[ 'style'=>'width: 100%; min-height: 400px', ] ] ); ?> = $form->field($model, 'content')->widget(\xutl\ace\AceEditInput::className(), [ 'mode' => 'text', 'theme' => 'chrome' ]); ?>

The Versions

04/11 2016

dev-master

9999999-dev

The ace extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar xutl

yii2 yii ace

04/11 2016

1.1.0

1.1.0.0

The ace extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar xutl

yii2 yii ace

03/09 2016

1.0.0

1.0.0.0

The ace extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar xutl

yii2 yii ace