jiangyoucai / vue-editor Goto Github PK
View Code? Open in Web Editor NEWEditor for Vue.js , Base on wangEditor
Home Page: http://www.wangeditor.com/
Editor for Vue.js , Base on wangEditor
Home Page: http://www.wangeditor.com/
跨域上传文件到阿里云时出错:
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 就没有跨域问题了。
能否配置一个简单参数?
我用了你的这个,可以用。然后我根据wangeditor官网的自定义plupload来自定义上传,但发现,点击上传处并没有弹出选择文件的框。查看html发现并未生成对应的input上传表单。
求帮忙,项目急着上线了。谢谢。
How to use?
如果有初始内容,按任意键会清空内容。
我用wangeditor2上传图片时,页面加载不出来图片并报错(内容如下)。请问如何解决?
wangEditor.js?2929:3073 wangEditor提示: 使用返回的结果获取图片,发生错误。请确认以下结果是否正确:
<title>Error</title>Cannot POST /api/v1/help/upload/wangEditorH5File
作者你好,我在使用你的範例時,在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;
输入时总是会跳走
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.