其他分享
首页 > 其他分享> > [HTML 5] contenteditable

[HTML 5] contenteditable

作者:互联网

The contenteditable global attribute is an enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing.

<blockquote contenteditable="true">
    <p>Edit this content to add your own quote</p>
</blockquote>

<cite contenteditable="true">-- Write your own name here</cite>

 

<pre class="source" contenteditable>export class Pizza extends Food {
  constructor (private name: string) {}
}</pre>

 

标签:own,contenteditable,name,attribute,global,HTML,your
来源: https://www.cnblogs.com/Answer1215/p/16684997.html