0
包围创建的图像
<input type="button" onclick="document.execCommand('insertimage',null,'http://barwoncopiers.com/wp-content/uploads/2011/03/linkedin-icon-45x45.jpg');" value="Img"/>
<br>
<div contenteditable="true" class="editor" id="editor"></div>
---
<qwe><img></qwe>
如果创建的形象,我想自动附上标签。
如何< qwe>标签创建?
图像上传HTML文件到服务器时未插入。你有任何补充的酱汁来源吗? –