{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/html.global_attributes.contenteditable.plaintext-only",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "html.global_attributes.contenteditable.plaintext-only",
    "cat": "html",
    "spec": "https://html.spec.whatwg.org/multipage/interaction.html#attr-contenteditable-plaintextonly",
    "st": 1,
    "wf": "contenteditable-plaintextonly",
    "bl": "low",
    "bld": 20151,
    "s": {
      "chrome": {
        "v": "51",
        "d": 16946
      },
      "firefox": {
        "v": "136",
        "d": 20151
      },
      "safari": {
        "v": "5",
        "d": 14767
      },
      "edge": {
        "v": "12",
        "d": 16645
      },
      "chrome_android": {
        "v": "51",
        "d": 16960
      },
      "firefox_android": {
        "v": "136",
        "d": 20151
      },
      "safari_ios": {
        "v": "4.2",
        "d": 14935
      },
      "webview_android": {
        "v": "51",
        "d": 16960
      },
      "webview_ios": {
        "v": "4.2",
        "d": 14935
      },
      "samsunginternet_android": {
        "v": "5.0",
        "d": 17150
      },
      "opera": {
        "v": "38",
        "d": 16960
      },
      "opera_android": {
        "v": "41",
        "d": 17099
      },
      "oculus": {
        "v": "5.0",
        "d": 17713
      }
    },
    "notes": [
      {
        "t": "Chrome overrides the specified or implicit <code>white-space</code> style to <code>pre-wrap</code> or <code>pre</code> when <code>contenteditable</code> is set to <code>plaintext-only</code>. See <a href=\"https://crbug.com/413427424\">bug 413427424</a>.",
        "b": [
          "chrome"
        ]
      },
      {
        "t": "Chrome Android overrides the specified or implicit <code>white-space</code> style to <code>pre-wrap</code> or <code>pre</code> when <code>contenteditable</code> is set to <code>plaintext-only</code>. See <a href=\"https://crbug.com/413427424\">bug 413427424</a>.",
        "b": [
          "chrome_android"
        ]
      },
      {
        "t": "WebView Android overrides the specified or implicit <code>white-space</code> style to <code>pre-wrap</code> or <code>pre</code> when <code>contenteditable</code> is set to <code>plaintext-only</code>. See <a href=\"https://crbug.com/413427424\">bug 413427424</a>.",
        "b": [
          "webview_android"
        ]
      },
      {
        "t": "Samsung Browser overrides the specified or implicit <code>white-space</code> style to <code>pre-wrap</code> or <code>pre</code> when <code>contenteditable</code> is set to <code>plaintext-only</code>. See <a href=\"https://crbug.com/413427424\">bug 413427424</a>.",
        "b": [
          "samsunginternet_android"
        ]
      },
      {
        "t": "Opera overrides the specified or implicit <code>white-space</code> style to <code>pre-wrap</code> or <code>pre</code> when <code>contenteditable</code> is set to <code>plaintext-only</code>. See <a href=\"https://crbug.com/413427424\">bug 413427424</a>.",
        "b": [
          "opera"
        ]
      },
      {
        "t": "Opera Android overrides the specified or implicit <code>white-space</code> style to <code>pre-wrap</code> or <code>pre</code> when <code>contenteditable</code> is set to <code>plaintext-only</code>. See <a href=\"https://crbug.com/413427424\">bug 413427424</a>.",
        "b": [
          "opera_android"
        ]
      },
      {
        "t": "Quest Browser overrides the specified or implicit <code>white-space</code> style to <code>pre-wrap</code> or <code>pre</code> when <code>contenteditable</code> is set to <code>plaintext-only</code>. See <a href=\"https://crbug.com/413427424\">bug 413427424</a>.",
        "b": [
          "oculus"
        ]
      }
    ]
  },
  "webFeature": {
    "id": "contenteditable-plaintextonly",
    "name": "contenteditable=\"plaintext-only\"",
    "description": "The contenteditable=\"plaintext-only\" global HTML attribute allows the user to edit the content of an element, but prevents rich-text formatting.",
    "group": "other",
    "groupName": "other",
    "spec": "https://html.spec.whatwg.org/multipage/interaction.html#attr-contenteditable-plaintextonly-state",
    "baseline": "low",
    "baselineLowDate": "2025-03-04",
    "baselineLowDay": 20151,
    "compatCount": 2,
    "cats": [
      "api",
      "html"
    ],
    "compatKeysSample": [
      "api.HTMLElement.contentEditable.plaintext-only",
      "html.global_attributes.contenteditable.plaintext-only"
    ],
    "s": {
      "chrome": {
        "v": "51",
        "d": 16946
      },
      "chrome_android": {
        "v": "51",
        "d": 16960
      },
      "edge": {
        "v": "12",
        "d": 16645
      },
      "firefox": {
        "v": "136",
        "d": 20151
      },
      "firefox_android": {
        "v": "136",
        "d": 20151
      },
      "safari": {
        "v": "5.1",
        "d": 15175
      },
      "safari_ios": {
        "v": "5",
        "d": 15259
      }
    }
  }
}