diff --git a/files/en-us/web/api/htmlelement/contenteditable/index.md b/files/en-us/web/api/htmlelement/contenteditable/index.md index 096ddfc77bc3298..231e1e276e1ab6d 100644 --- a/files/en-us/web/api/htmlelement/contenteditable/index.md +++ b/files/en-us/web/api/htmlelement/contenteditable/index.md @@ -16,6 +16,7 @@ This enumerated attribute can have the following values: - '`true`' indicates that the element is `contenteditable`. - '`false`' indicates that the element cannot be edited. +- '`plaintext-only`' indicates that the element's raw text is editable, but rich text formatting is disabled. - '`inherit`' indicates that the element inherits its parent's editable status. diff --git a/files/en-us/web/html/global_attributes/contenteditable/index.md b/files/en-us/web/html/global_attributes/contenteditable/index.md index 75fc75b7f260e80..c3cf5b09845e32f 100644 --- a/files/en-us/web/html/global_attributes/contenteditable/index.md +++ b/files/en-us/web/html/global_attributes/contenteditable/index.md @@ -15,6 +15,7 @@ The attribute must take one of the following values: - `true` or an _empty string_, which indicates that the element is editable. - `false`, which indicates that the element is not editable. +- `plaintext-only`, which indicates that the element's raw text is editable, but rich text formatting is disabled. If the attribute is given without a value, like ``, its value is treated as an empty string.