Git Product home page Git Product logo

vue-editor's Issues

跨域上传图片出错

跨域上传文件到阿里云时出错:
XMLHttpRequest cannot load http://tjdesigner.oss-cn-shanghai.aliyuncs.com/. Response to preflight request doesn't pass access control check: A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://localhost:8080' is therefore not allowed access. The credentials mode of an XMLHttpRequest is controlled by the withCredentials attribute.
看wangeditor官方issue,说要去源码中修改 xhr.withCredentials = true; 改成 false 就没有跨域问题了。
能否配置一个简单参数?

在使用wangeditor2时的错误

我用wangeditor2上传图片时,页面加载不出来图片并报错(内容如下)。请问如何解决?

wangEditor.js?2929:3073 wangEditor提示: 使用返回的结果获取图片,发生错误。请确认以下结果是否正确:

<title>Error</title>
Cannot POST /api/v1/help/upload/wangEditorH5File

You may need an appropriate loader to handle this file type.

作者你好,我在使用你的範例時,在import後都會造成錯誤,有什麼重要的loader要安裝嗎?
我剛剛接觸webpack與vue,希望可以解答一下
import WangEditor from 'wangeditor'

node_modules/wangeditor/dist/css/wangEditor.css Unexpected token (7:0)
You may need an appropriate loader to handle this file type.
| /* 按钮颜色 /
| /
tab selected 状态下的颜色 */
| .wangEditor-container {
| position: relative;
| background-color: #fff;

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.