eyoucms开发之Ueditor 编辑器将img的data-src属性值赋值到src属性 发布者:Admin • 发布时间:2023-09-10 18:01:50 • 阅读 :500次 找到Ueditor.all.min.js,代码整理后,大概在3307行,搜索:b.setAttr("_src", b.getAttr("src"));然后在其下面增加代码。代码如下:b.setAttr("src", b.getAttr("data-src")); 本文关键词: 属性 Ueditor 编辑器 img data-src 赋值