摘要: 富文本编辑中获取的 length 包括 富文本的标签处理方式: 用正则去掉了所带标签 /** * remove the tag of html * @param str */ function removeTAG(str){ return str.replace(/<[^>]+>/g, ""); } 阅读全文
posted @ 2022-02-16 10:05 Freya~ 阅读(173) 评论(0) 推荐(0)