8***@qq.com
8***@qq.com
  • 发布:2022-08-21 20:51
  • 更新:2022-10-12 10:58
  • 阅读:513

【报Bug】uniapp的editor组件插入的a标签会被删除href属性

分类:uni-app

产品分类: uniapp/小程序/微信

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win10版本

HBuilderX类型: 正式

HBuilderX版本号: 3.5.4

第三方开发者工具版本号: 3.3.13

基础库版本号: 20220314

项目创建方式: HBuilderX

示例代码:

this.editorCtx.getContents({
success(res){
let ht = res.html

操作步骤:

this.editorCtx.getContents({
success(res){
let ht = res.html

预期结果:

this.editorCtx.getContents({
success(res){
let ht = res.html

实际结果:

uniapp的editor组件插入的a标签会被删除href属性

bug描述:

uniapp的editor组件插入的a标签会被删除href属性

2022-08-21 20:51 负责人:无 分享
已邀请:
DCloud_UNI_WZF

DCloud_UNI_WZF

测试非 uni-app 问题,微信小程序原生开发依然有此问题,可在微信开发者社区反馈
如确认是 uni-app 问题,请提供测试工程

秃顶佩奇

秃顶佩奇 - 秃顶佩奇

大佬,请问一下你是如何插入a标签的

  • 夏夜追凉丶

    我封装了一下富文本插件,可以来看看https://ext.dcloud.net.cn/plugin?id=14726


    2024-02-23 16:38

要回复问题请先登录注册