Comments (16)
如果你的路由使用了mode:'history',使用绝对路径,不要使用相对路径
from vue-ueditor-wrap.
大佬,history模式中配置这个绝对路径应该怎么配啊?我把UEditor放在项目根目录的public下了。然后无论设置/public/UEditor/还是/UEditor/ 都不对。。。求指导!
@JayLee265 同时也问问你是咋配置的呀?
from vue-ueditor-wrap.
按照百度文档的那种安装配置方法,设置为/UEditor/是可以的。我用的也是cli 3
from vue-ueditor-wrap.
如果你用history模式,路径又是绝对路径,你就要根据你UEditor所在页面的路径来决定怎么填了,比如你的页面地址是/myapp/todo/detail,那么你此时的路径就是/myapp/UEditor了,这个你要具体分析自己的项目
from vue-ueditor-wrap.
谢谢大佬回复,我目前UEditor文件夹是放在 myapp/public/UEditor,配置的路径要变成 /myapp/UEditor/ 这样吗?
from vue-ueditor-wrap.
我说的页面地址,你把你UEditor所在的页面的地址栏截个图吧
from vue-ueditor-wrap.
oh... 我错了 页面地址是 http://localhost/editor
from vue-ueditor-wrap.
那你填/UEditor/试一试
from vue-ueditor-wrap.
from vue-ueditor-wrap.
稍等一下,我试一试
from vue-ueditor-wrap.
好的 谢谢!
from vue-ueditor-wrap.
from vue-ueditor-wrap.
明白了!在页面文件里传config进去没问题,不能直接在原先的config.js文件里直接操作。谢谢大佬!
from vue-ueditor-wrap.
OK
from vue-ueditor-wrap.
issue可以关闭啦 谢谢!
from vue-ueditor-wrap.
为什么居中的图片点击空白处,图片超出了编辑器?而且不管点击哪里都没法获得焦点?这是啥bug?
from vue-ueditor-wrap.
Related Issues (20)
- 有序列表和无序列表缺失自定义部分的图标 HOT 2
- 关于出现 alert 警告的说明 HOT 7
- 最新版打字光标会跳到顶行 HOT 3
- 请问如何获取到UEditor的示例,从而调用它的API呢 HOT 1
- 重复渲染 HOT 10
- API的详细文档没有了 HOT 2
- vue3.0 报错Uncaught TypeError: Object(...) is not a function HOT 2
- 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 1
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.