Posted 9 years agoNotecontenteditable 属性规定是否可编辑元素的内容<div contenteditable="true">这是一段可编辑的段落</div> 注释:可用于div模拟textarea自适应高度 #html