标签: javascript html text
用户应该能够通过向其中插入一些内容来操纵<p>的内容。 但这应该只能在一个位置实现,所以只要使段落contenteditable=true不是一切......
<p>
contenteditable=true
您对如何解决这个问题有任何想法吗?
答案 0 :(得分:0)
试试这个
<p ><span contenteditable="true">It is editable.</span> This is a paragraph.</p>