![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
chengler
这个作者很懒,什么都没留下…
展开
-
富文本编辑器,去除粘贴的word文件中的无效代码
将word文件中的内容粘贴到富文本编辑器中时,会发现存在很多无效的代码,格式类似下图:<!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:RelyOnVML/> <o:AllowPNG/> </o:OfficeDocumentSettings></xml><![endif]--><!--[if gte mso 9]><原创 2021-08-05 15:58:37 · 748 阅读 · 0 评论 -
使用Fancybox实现iframe弹出框
前景公司要求封装一个js来实现一个弹出框的广告,以便外部的平台来调用。正好js~fancybox为我们提供了iframe功能。我们可以直接使用,不用自己去实现。fancybox介绍官网地址:http://www.fancybox.net/需要注意的是:This site is kept for historical purposes and represents original version of the Fancybox. V4 (the latest), V3 (discontinued原创 2021-08-05 15:56:50 · 324 阅读 · 0 评论