contenteditable javascript code example
Example 1: contenteditable html
<blockquote contenteditable="true">
<p>Edit this content to add your own quote</p>
</blockquote>
<!-- blockquote can be change by other block element -->
Example 2: js change contenteditable value
element.setAttribute("contenteditable", false);