j***@wechose.com.cn
j***@wechose.com.cn
  • 发布:2019-02-13 11:55
  • 更新:2019-03-14 13:55
  • 阅读:1574

rich-text ins标签在span标签里面无效

分类:uni-app

rich-text ins标签在span标签里面无效

2019-02-13 11:55 负责人:无 分享
已邀请:
j***@wechose.com.cn

j***@wechose.com.cn (作者)

html代码如下:

<p style="text-align: center;"><span style="color: rgb(226, 139, 65); font-size: 12px;"><ins>看到</ins></span></p>

span里面的颜色以及字体大小设置 无效,不起作用了

  • Trust

    哪个平台?


    2019-02-13 12:05

  • j***@wechose.com.cn (作者)

    回复 Trust: uni-app,读取内容后,赋值在rich-text里面


    2019-02-13 13:54

  • Trust

    @1020@wechose.com.cn:哪个平台?App?H5?小程序?


    2019-02-13 14:07

  • j***@wechose.com.cn (作者)

    回复 Trust: APP


    2019-02-13 14:11

j***@wechose.com.cn

j***@wechose.com.cn (作者)

<rich-text :nodes="testContent"></rich-text>
testContent: '<p style="text-align: center;"><span style="color: rgb(226, 139, 65); font-size: 12px;"><ins>看到</ins></span></p>'

颜色跟字体大小不起作用

  • Trust

    目前 span 中的嵌套是有问题,可以暂时通过不使用 ins 标签来绕过。


    2019-02-13 14:59

  • j***@wechose.com.cn (作者)

    回复 Trust:目前在做app的编辑器,有下划线的功能,嵌套有问题的话,确实比较麻烦,,


    2019-02-13 15:21

  • j***@wechose.com.cn (作者)

    回复 Trust: 希望能尽快修复完善好。。


    2019-02-13 15:21

Trust

Trust - 少说废话

1.7.0 已更新并修复此问题

该问题目前已经被锁定, 无法添加新回复