会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
罗罗总总
博客园
首页
新随笔
联系
订阅
管理
2022年5月
js解决emoji不展示以及存储问题。
摘要: 参考:https://www.bianchengquan.com/article/144145.html https://zhuanlan.zhihu.com/p/41926228 https://juejin.cn/post/6844903637555101704 1.展示效果: 🈶保单📃,�
阅读全文
posted @ 2022-05-05 11:23 勤勤恳恳小码农
阅读(309)
评论(0)
推荐(0)
2022年4月
tinymce富文本格式刷
摘要: 直接引入,在plugins和toolbar中添加 formatpainter !function(l) { "use strict"; var e, r, t, n, o, m, i, d, a, u, c, v, s, g = function(e) { var r = e , t = funct
阅读全文
posted @ 2022-04-28 14:08 勤勤恳恳小码农
阅读(1640)
评论(0)
推荐(0)
tinymce富文本行高插件
摘要: 直接引入,在plugins和toolbar中添加 lineheight tinymce.PluginManager.add('lineheight', function(editor, url) { var pluginName='设置行高'; var global$1 = tinymce.util
阅读全文
posted @ 2022-04-28 14:01 勤勤恳恳小码农
阅读(939)
评论(0)
推荐(0)
tinymce富文本图片上传高度限制
摘要: 1.在public下tinymce文件夹找到image 2.在plugin.js里面修改 img.onload = function () { var width = parseIntAndGetMax(img.width, img.clientWidth); var height = parseI
阅读全文
posted @ 2022-04-28 11:14 勤勤恳恳小码农
阅读(519)
评论(0)
推荐(0)
vue中使用 tinymce富文本编辑器
摘要: 参考 https://blog.csdn.net/weixin_53605215/article/details/123043676 1. npm下载 vue3.x : npm install tinymce -S npm install @tinymce/tinymce-vue -S vue2.x
阅读全文
posted @ 2022-04-28 11:02 勤勤恳恳小码农
阅读(1000)
评论(0)
推荐(0)
vue中v-for循环时增加校验
摘要: html: <el-form-item v-if="['1','2'].includes(form.themeType)" label="文案"> <div class="picTopic"> <template v-if="form.contentList.length!==0"> <el-col
阅读全文
posted @ 2022-04-28 09:18 勤勤恳恳小码农
阅读(428)
评论(0)
推荐(0)
解决Promise.all中某一个promise失败而使整个promise失败问题
摘要: const promiseList = this.dataList.map(async o => { o.richText = await downloadRichText({ key: o.changeCode }).then(res => { return decodeURI(res.data)
阅读全文
posted @ 2022-04-27 10:52 勤勤恳恳小码农
阅读(146)
评论(0)
推荐(0)
vue中audio循环,点击一个播放其他全部停止
摘要: 参考:https://www.cnblogs.com/yetianjiao/p/15798533.html html: <div class="item" v-for="(item,index) in recordList" :key="index"> <div class="left"> <spa
阅读全文
posted @ 2022-04-20 15:25 勤勤恳恳小码农
阅读(805)
评论(0)
推荐(0)
公告