jgh
- jgh 2018-07-18 已签到连续签到1天,获得了5个金钱
- jgh 赞了评论
'upload'=>[ 'class' => 'common\widgets\file_upload\UploadAction', //这里扩展地址别写错 'config' => [ 'imagePathFormat' => "/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", ] ],
我已经有个upload,我想改成
'ueditor'=>[ 'class' => 'common\widgets\ueditor\UEditorAction', 'config' => [ "imageUrlPrefix" => "http://web.blog.com", "imagePathFormat" => "/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", "imageRoot" => Yii::getAlias("@webroot"), ] ],
写ueditor提示后台没配置,该怎么办了
- jgh 评论了扩展 Yii2-ueditor-widget
'upload'=>[ 'class' => 'common\widgets\file_upload\UploadAction', //这里扩展地址别写错 'config' => [ 'imagePathFormat' => "/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", ] ],
我已经有个upload,我想改成
'ueditor'=>[ 'class' => 'common\widgets\ueditor\UEditorAction', 'config' => [ "imageUrlPrefix" => "http://web.blog.com", "imagePathFormat" => "/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", "imageRoot" => Yii::getAlias("@webroot"), ] ],
写ueditor提示后台没配置,该怎么办了