Comments (2)
这些特殊的列表序号其实是一些小图片,UEditor 默认的图片地址 http://bs.baidu.com/listicon/ 已经 404 了,所以看不见这些序号。我已经把这些图片另存下来了,可以点这里下载。
这样编辑的时候就可以看到序号了。
但要注意的一点的是,在还原编辑器内容时,要使用 ueditor.parse.js
,不然还原后的富文本还是看不到序号的。可以参考 UEditor 官方关于 编辑内容展示的文档 和我写的编辑内容展示 的示例。
还有一点就是 ueditor.parse.js
和 ueditor.parse.min.js
本身是有一个小 BUG 的,看下图修改一下就好了
如果不使用 ueditor.parse.js
来还原,可以手动设置样式,附上一段 less
代码:
.list(@i) when (@i > -1) {
.list((@i - 1));
.list-cn-1-@{i} {
// 注意这里的路径,根据小图片的位置进行调整
background-image: url('/UEditor/listicon/list-cn-1-@{i}.gif');
}
.list-cn-2-@{i} {
background-image: url('/UEditor/listicon/list-cn-2-@{i}.gif');
}
.list-cn-3-@{i} {
background-image: url('/UEditor/listicon/list-cn-3-@{i}.gif');
}
.list-num-1-@{i} {
background-image: url('/UEditor/listicon/list-num-1-@{i}.gif');
}
.list-num-2-@{i} {
background-image: url('/UEditor/listicon/list-num-2-@{i}.gif');
}
.list-num-3-@{i} {
background-image: url('/UEditor/listicon/list-num-3-@{i}.gif');
}
}
.list(99);
from vue-ueditor-wrap.
图片没办法下载啊
from vue-ueditor-wrap.
Related Issues (20)
- 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 2
- 使用微前端框架wujie时,子应用使用了vue-ueditor-wrap,报$EDITORUI is not defined错误 HOT 3
- 同一个页面创建多个编辑器,自定义按钮只会在最后一个编辑器创建。 HOT 1
- 【内容无法删除】以下代码 如果把光标放在横线后面的话,键盘无法删除内容了
- 【内容无法删除】以下代码 如果把光标放在横线后面的话,键盘无法删除内容了
- 图片转存功能能否完善下,对大部分人来说挺重要的。
- ueditor复制进去的文字或者下划线会自带一个span标签,不想要这个span标签怎么解决
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.