2017 © Pedro Peláez
 

yii2-extension yii2-ueditor

yii2使用百度编辑器上传

image

crazyfd/yii2-ueditor

yii2使用百度编辑器上传

  • Tuesday, November 4, 2014
  • by crazyfd
  • Repository
  • 2 Watchers
  • 8 Stars
  • 186 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

yii2-ueditor

  • @author crazyfd crazyfd@qq.com
  • @version 1.0
  • @desc 百度HTML编辑器 html editer for Yii Framework 2

How to install?, (*1)

To use this widget, you may insert the following code:

Get it via composer by adding the package to your composer.json:, (*2)

{
  "require": {
    "crazyfd/yii2-ueditor": "dev-master"
  }
}

```php php composer.phar update, (*3)


Usage ----- ```php field($model, 'content')->widget(Ueditor::className(),[]) ?> 控制器中添加 public function actions() { return [ 'ueditor' => [ 'class' => 'crazyfd\ueditor\Upload', 'config'=>[ 'uploadDir'=>date('Y/m/d') ] ], ]; }

The Versions

04/11 2014

dev-master

9999999-dev

yii2使用百度编辑器上传

  Sources   Download

MIT

The Requires

 

by Avatar crazyfd

upload yii ueditor