contenteditable="plaintext-only"
The contenteditable="plaintext-only"
global HTML attribute allows the user to edit the content of an element, but prevents rich-text formatting.
Status
Baseline Newly Available (since 2025-03-04)
This feature is expected to reach Baseline Widely Available status on: 2027-09-04
MDN documentation
Specifications
- HTML (#attr-contenteditable-plaintextonly-state), from HTML Workstream (WHATWG).
Browser support
- Chrome 51 Released on 2016-05-25
- Chrome Android 51 Released on 2016-06-08
- Edge 12 Released on 2015-07-29
- Firefox 136 Released on 2025-03-04
- Firefox for Android 136 Released on 2025-03-04
- Safari 5.1 Released on 2011-07-20
- Safari on iOS 5 Released on 2011-10-12
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist