Git Product home page Git Product logo

Comments (5)

haochuan9421 avatar haochuan9421 commented on May 24, 2024

没弄过,不过通常应该由后端来处理,他给你一个serverUrl,你上传文件图片该怎么调接口还是怎么调,后端收到文件之后再调接口传到七牛云或者什么其他存储服务器上就可以了

from vue-ueditor-wrap.

syhyz1990 avatar syhyz1990 commented on May 24, 2024

创建自定义按钮,调用前端七牛js api ,后台接口返回个token就行

from vue-ueditor-wrap.

haochuan9421 avatar haochuan9421 commented on May 24, 2024

创建自定义按钮,前端调js api 当然可以,但原本的那些上传图片,视频,文件的各种按钮你都隐藏掉吗?后端也有接口,干嘛不用?多一次转发?但是你丢失的是百度编辑器完整的用户体验!

from vue-ueditor-wrap.

syhyz1990 avatar syhyz1990 commented on May 24, 2024

创建自定义按钮,前端调js api 当然可以,但原本的那些上传图片,视频,文件的各种按钮你都隐藏掉吗?后端也有接口,干嘛不用?多一次转发?但是你丢失的是百度编辑器完整的用户体验!

这样你需要把图片传到后台服务器,在后台服务器上传到七牛,岂不多此一举。占用服务器带宽资源

from vue-ueditor-wrap.

haochuan9421 avatar haochuan9421 commented on May 24, 2024

各有各的理,就看你们公司前后端谁强势了🤷‍♀️

from vue-ueditor-wrap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.