2017 © Pedro Peláez
 

yii2-extension yii2-wangeditor

yii2-wangeditor

image

xinyeweb/yii2-wangeditor

yii2-wangeditor

  • Wednesday, May 9, 2018
  • by hotarzhang
  • Repository
  • 2 Watchers
  • 0 Stars
  • 5 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 25 % Grown

The README.md

wangeditor

yii2-wangeditor, (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist xinyeweb/yii2-wangeditor "*"

or add, (*4)

"xinyeweb/yii2-wangeditor": "dev-master"

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

Usage

Once the extension is installed, simply use it in your code by :, (*6)

php <?= $form->field($model, 'description')->widget(xinyeweb\wangeditor\WANGEditor::className(),[ 'qiniu' => 1, // 1 开启 0 关闭 'uptokenurl' => Yii::$app->urlManager->createUrl(['public/get-up-token']), //获取uptoken 'qiniudomain' => 'http://p8c2d3xyx.bkt.clouddn.com/' //储存空间的域名 ]) ?>, (*7)

The Versions

09/05 2018

dev-master

9999999-dev

yii2-wangeditor

  Sources   Download

MIT

The Requires

 

by hoter

extension yii2