1, the editor is using the underwear brother's small parts, not installed using composer installation
PHP Composer.phar require kucha/ueditor "*"
Attached to GitHub's address: Https://github.com/BigKuCha/yii2-ueditor-widget
2. Install the seven Ox official SDK
PHP Composer.phar require QINIU/PHP-SDK
Attached to GitHub's address: HTTPS://GITHUB.COM/QINIU/PHP-SDK
Underwear Baidu Editor's use does not introduce, you can go to GitHub to see a detailed introduction
3, Modify the vendor\kucha\ueditor\uploader.php Upfile () method (the main processing method of uploading files) to find the drawing code comments out
Replace with seven the code of the image uploaded by the ox -drawings
Remember to use Auth and UploadManager
4, revise the Handleaction method of Vendor\kucha\ueditor\ueditoraction , comment out the drawings code
This modification has been completed, please indicate if there are any errors
Is
Yii2 ueditor-Baidu Editor Photo upload seven Qiniu