Nossos voluntários ainda não traduziram este artigo para o Português (do Brasil) . Junte-se a nós e ajude a fazer o trabalho!
The HTMLElement.isContentEditable
read-only property returns a Boolean
that is true
if the contents of the element are editable; otherwise it returns false
.
Syntax
editable = element.isContentEditable
Specifications
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'HTMLElement.contenteditable' in that specification. |
Living Standard | No change from latest snapshot, HTML5.1 |
HTML5.1 The definition of 'HTMLElement.contenteditable' in that specification. |
Working Draft | Snapshot of WHATWG HTML Living Standard, no change from HTML5 |
HTML5 The definition of 'HTMLElement.contenteditable' in that specification. |
Recommendation | Snapshot of WHATWG HTML Living Standard, initial definition. |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | (Yes) | 4.0 (2) | (Yes) | (Yes) | (Yes) |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | (Yes) | 4.0 (2) | (Yes) | (Yes) | (Yes) | (Yes) |
See also
element.contentEditable
- The contenteditable global attribute.