标签:end self var created each nod insert val this
function insertHtml(range, val) { var doc = range.doc, frag = doc.createDocumentFragment(); K(‘@‘ + val, doc).each(function() { frag.appendChild(this); }); range.deleteContents(); range.insertNode(frag); range.collapse(false); self.select(false); }
标签:end self var created each nod insert val this
原文地址:http://www.cnblogs.com/znsongshu/p/6080041.html