Comments (7)
UEditor 作为一款富文本编辑器,包含图片上传、视频上传、远程图片抓取等功能。这需要部署对应的后端服务,才能正常使用。
正确部署后的 UEditor 服务,一般会提供一个统一的 HTTP 请求接口,前端同学只需要把他配置到 UEDITOR_CONFIG.serverUrl 中即可。
文档里提供了一个测试的 serverUrl https://ueditor.zhenghaochuan.com/cos ,后台日志显示访问量很大,已经吃掉了我服务器很多费用😂,这个接口是我个人搭建的,初衷是为了方便各位小伙伴看文档或开发时能更好的体验百度编辑器的完整功能,完全是出于帮助他人的初衷且免费的。
由于我设置了允许跨域访问,发现有很多人在线上环境白嫖我的接口😡😡😡,这不仅对我造成了额外的经济负担,也占用其他同学的资源!所以对疑似线上环境的调用进行了告警,此前文档也三番五次强调这个 serverUrl 仅供测试使用,不可用于生产环境!
为了更好的防止此类事情发生,现同一 IP 最多只能调用一百次,超过后自动加入黑名单,这个次数对于体验 serverUrl 的功能已经足够了。
对于需要使用上传图片等功能的同学,UEditor 官方已经提供了 PHP、ASP、ASP.NET、JSP 的部署说明,我也提供一个 Node 的示例代码,事实上我提供了那个 serverUrl 就是 Node 写的。再次强调:拒绝白嫖!!!自己动手,丰衣足食!
from vue-ueditor-wrap.
已将serverUrl设置为空关闭alert警告,上传文件、图片等功能通过oss实现了
from vue-ueditor-wrap.
大佬 请问你的跨域问题怎么处理的 我这边遇到跨域问题
Indicate whether a cookie is intended to be set in a cross-site context by specifying its SameSite attribute
from vue-ueditor-wrap.
大佬 请问你的跨域问题怎么处理的 我这边遇到跨域问题
Indicate whether a cookie is intended to be set in a cross-site context by specifying its SameSite attribute
你这个跨域请求设置了第三方Cookie,之前我写过一篇相关的博客,你可以了解一下 https://juejin.cn/post/6963632513914765320
from vue-ueditor-wrap.
工具栏很多工具失效咋回事啊
from vue-ueditor-wrap.
已将serverUrl设置为空关闭alert警告,上传文件、图片等功能通过oss实现了
是否有代码示例看看怎么实现的呢 遇到相同需求
from vue-ueditor-wrap.
已将serverUrl设置为空关闭alert警告,上传文件、图片等功能通过oss实现了
是否有代码示例看看怎么实现的呢 遇到相同需求
可以参考这个,主要是24540行代码开始
https://github.com/woyehaizaixiang/vue-ueditor/blob/master/ueditor.all.min.js
from vue-ueditor-wrap.
Related Issues (20)
- svg里面的annimate 属性不遵循大小写 HOT 2
- 删除mark标签中的文字,在相同位置输入文字仍保持高亮的css样式,如何解决? HOT 1
- 在保存富文本的时候什么情况下会出现文本编辑框有内容但是绑定到v-model执行提交操作的时候没有值 HOT 6
- 组件替换英文符号点页面卡死
- 无法删除视频 HOT 2
- 组件 添加自定义按钮 生成的图片没有办法回选到富文本编辑器里,base64标签显示不出来 HOT 1
- 秀米编辑文章后点击导出无法将内容返回给uedior HOT 4
- 同一个页面如何显示多个编辑器 HOT 1
- 后端配置项没有正常加载,上传插件不能正常使用!
- editor样式出现无法显示问题
- 上传视频,视频不能正常展示
- disable状态的切换
- 在el-dialog中使用组件,无法正常使用功能,功能弹框被遮盖. HOT 2
- 使用微前端框架wujie时,子应用使用了vue-ueditor-wrap,报$EDITORUI is not defined错误 HOT 3
- 同一个页面创建多个编辑器,自定义按钮只会在最后一个编辑器创建。 HOT 1
- 【内容无法删除】以下代码 如果把光标放在横线后面的话,键盘无法删除内容了
- 【内容无法删除】以下代码 如果把光标放在横线后面的话,键盘无法删除内容了
- 图片转存功能能否完善下,对大部分人来说挺重要的。
- ueditor复制进去的文字或者下划线会自带一个span标签,不想要这个span标签怎么解决
- 请问这个插件不支持hash模式吗
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-ueditor-wrap.