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)
- 秀米编辑文章后点击导出无法将内容返回给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模式吗
- Vue3 版本能否支持一个可以被HTML单页引用的js文件版本 HOT 1
- 为什么页面滚动内容宽度会缩小
- editor is not defined at link.html:39:17 HOT 1
- 编辑器前面会渲染一个textarea HOT 1
- vite + vue3 按照官方文档操作后,页面不显示也没有报错
- vue 中使用时首次渲染时需要3秒左右才能显示 多页面使用时 有时会提示Uncaught (in promise) TypeError: Cannot convert undefined or null to object 错误渲染不出来
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.