Web platform features explorer

contenteditable="plaintext-only"

Newly available since 2025-03-04
Tags: api html

The contenteditable="plaintext-only" global HTML attribute allows the user to edit the content of an element, but prevents rich-text formatting.

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 ≤13.1 Released before 2020-03-24
  • Safari on iOS ≤13.4 Released before 2020-03-24