{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/api.Document.execCommand",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "api.Document.execCommand",
    "cat": "api",
    "mdn": "API/Document/execCommand",
    "st": 4,
    "wf": "execcommand",
    "bl": false,
    "s": {
      "chrome": {
        "v": "1",
        "d": 14224
      },
      "firefox": {
        "v": "69",
        "d": 18142
      },
      "safari": {
        "v": "1.3",
        "d": 12888
      },
      "edge": {
        "v": "12",
        "d": 16645
      },
      "chrome_android": {
        "v": "18",
        "d": 15518
      },
      "firefox_android": {
        "v": "79",
        "d": 18471
      },
      "safari_ios": {
        "v": "1",
        "d": 13693
      },
      "webview_android": {
        "v": "4.4",
        "d": 16048
      },
      "webview_ios": {
        "v": "1",
        "d": 13693
      },
      "samsunginternet_android": {
        "v": "1.0",
        "d": 15822
      },
      "opera": {
        "v": "9",
        "d": 13319
      },
      "opera_android": {
        "v": "10.1",
        "d": 14922
      },
      "oculus": {
        "v": "5.0",
        "d": 17713
      },
      "ie": {
        "v": "4",
        "d": 10134
      }
    },
    "notes": [
      {
        "t": "From Firefox 82, nested calls are not supported (return <code>false</code>). See <a href=\"https://bugzil.la/1634262\">bug 1634262</a>.",
        "b": [
          "firefox"
        ]
      },
      {
        "t": "Before Firefox 89, manipulating the content of <code>&lt;input&gt;</code> and <code>&lt;textarea&gt;</code> elements using <code>Document.execCommand()</code> commands requires workarounds (see <a href=\"https://bugzil.la/1220696\">bug 1220696</a>).",
        "b": [
          "firefox"
        ]
      },
      {
        "t": "Only supported for <a href=\"https://developer.mozilla.org/docs/Web/API/HTMLDocument\"><code>HTMLDocument</code></a>, not all <code>Document</code> objects.",
        "b": [
          "firefox",
          "firefox_android"
        ]
      },
      {
        "t": "From Firefox for Android 82, nested calls are not supported (return <code>false</code>). See <a href=\"https://bugzil.la/1634262\">bug 1634262</a>.",
        "b": [
          "firefox_android"
        ]
      },
      {
        "t": "Before Firefox for Android 89, manipulating the content of <code>&lt;input&gt;</code> and <code>&lt;textarea&gt;</code> elements using <code>Document.execCommand()</code> commands requires workarounds (see <a href=\"https://bugzil.la/1220696\">bug 1220696</a>).",
        "b": [
          "firefox_android"
        ]
      }
    ]
  },
  "webFeature": {
    "id": "execcommand",
    "name": "execCommand()",
    "description": "The document.execCommand() method reads and writes from the clipboard and performs editing commands on editable text, such as changing the font name or style. Related methods check whether commands are supported, enabled, or applied.",
    "group": "clipboard",
    "groupName": "Clipboard",
    "spec": "https://w3c.github.io/editing/docs/execCommand/",
    "baseline": false,
    "compatCount": 10,
    "cats": [
      "api"
    ],
    "compatKeysSample": [
      "api.Document.execCommand",
      "api.Document.execCommand.copy",
      "api.Document.execCommand.cut",
      "api.Document.execCommand.defaultParagraphSeparator",
      "api.Document.execCommand.insertBrOnReturn",
      "api.Document.queryCommandEnabled",
      "api.Document.queryCommandIndeterm",
      "api.Document.queryCommandState",
      "api.Document.queryCommandSupported",
      "api.Document.queryCommandValue"
    ],
    "s": {
      "chrome": {
        "v": "1",
        "d": 14224
      },
      "chrome_android": {
        "v": "18",
        "d": 15518
      },
      "edge": {
        "v": "12",
        "d": 16645
      },
      "firefox": {
        "v": "69",
        "d": 18142
      },
      "firefox_android": {
        "v": "79",
        "d": 18471
      },
      "safari": {
        "v": "1.3",
        "d": 12888
      },
      "safari_ios": {
        "v": "1",
        "d": 13693
      }
    }
  }
}