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文件到服務器時未插入。你有任何補充的醬汁來源嗎? –