Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
add value "plaintext-only"
  • Loading branch information
kiling authored Oct 30, 2023
1 parent 1a8d139 commit d26b9dc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ slug: Web/HTML/Global_attributes/contenteditable

- `true`*空字符串*,表示元素是可编辑的。
- `false` 表示元素不是可编辑的。
- `plaintext-only` 表示元素是可编辑的,但是只接受纯文本数据。

如果没有设置该属性的值(例如:`<label contenteditable>Example Label</label>`),则其值被视为空字符串。

Expand Down

0 comments on commit d26b9dc

Please sign in to comment.