2017 © Pedro Peláez
 

yii2-extension yii-ueditor

Yii2 extension widget

image

suncky/yii-ueditor

Yii2 extension widget

  • Wednesday, November 16, 2016
  • by suncky
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

介绍

该扩展基于Yii2.0, Choate\ueditor-ext编写而成, (*1)

安装

配置config文件路径

首先配置UEditor的配置文件, (*2)

return [
    'components' => [
        'assetManager' => [
            'assetMap' => [
                'ueditor.config.js' => '@web/js/ueditor.config.js', // 具体的存放路径参照项目定义
            ],
        ],
    ],
];

使用

$form = ActiveForm::begin();
echo $form->field($model, 'content')->widget(['class' => UEditor::className(), 'ueditorAction' => '后端请求,包括上传等']);
$form->end();

The Versions

16/11 2016

dev-master

9999999-dev

Yii2 extension widget

  Sources   Download

GPL2.0

The Requires

 

by Avatar suncky

16/11 2016

1.0.0

1.0.0.0

Yii2 extension widget

  Sources   Download

GPL2.0

The Requires

 

by Avatar suncky