{
 "compat_features": [
  "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"
 ],
 "description": "The 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.",
 "description_html": "The <code>execCommand()</code> 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.",
 "discouraged": {
  "according_to": [
   "https://w3c.github.io/editing/docs/execCommand/"
  ],
  "alternatives": [
   "async-clipboard",
   "contenteditable"
  ],
  "reason": "The execCommand() method is \"not implemented consistently or fully by user agents, and it is not expected that this will change in the foreseeable future.\"",
  "reason_html": "The <code>execCommand()</code> method is \"not implemented consistently or fully by user agents, and it is not expected that this will change in the foreseeable future.\""
 },
 "group": [
  "clipboard"
 ],
 "kind": "feature",
 "name": "execCommand()",
 "spec": [
  "https://w3c.github.io/editing/docs/execCommand/"
 ],
 "status": {
  "baseline": false,
  "by_compat_key": {
   "api.Document.execCommand": {
    "baseline": false,
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "69",
     "firefox_android": "79",
     "safari": "1.3",
     "safari_ios": "1"
    }
   },
   "api.Document.execCommand.copy": {
    "baseline": false,
    "support": {
     "chrome": "42",
     "chrome_android": "42",
     "edge": "12",
     "firefox": "69",
     "firefox_android": "79",
     "safari": "10",
     "safari_ios": "10"
    }
   },
   "api.Document.execCommand.cut": {
    "baseline": false,
    "support": {
     "chrome": "42",
     "chrome_android": "42",
     "edge": "12",
     "firefox": "69",
     "firefox_android": "79",
     "safari": "10",
     "safari_ios": "10"
    }
   },
   "api.Document.execCommand.defaultParagraphSeparator": {
    "baseline": false,
    "support": {
     "firefox": "69",
     "firefox_android": "79"
    }
   },
   "api.Document.execCommand.insertBrOnReturn": {
    "baseline": false,
    "support": {
     "firefox": "69",
     "firefox_android": "79"
    }
   },
   "api.Document.queryCommandEnabled": {
    "baseline": false,
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "69",
     "firefox_android": "79",
     "safari": "2",
     "safari_ios": "1"
    }
   },
   "api.Document.queryCommandIndeterm": {
    "baseline": false,
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "69",
     "firefox_android": "79",
     "safari": "2",
     "safari_ios": "1"
    }
   },
   "api.Document.queryCommandState": {
    "baseline": false,
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "69",
     "firefox_android": "79",
     "safari": "2",
     "safari_ios": "1"
    }
   },
   "api.Document.queryCommandSupported": {
    "baseline": false,
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "69",
     "firefox_android": "79",
     "safari": "2",
     "safari_ios": "1"
    }
   },
   "api.Document.queryCommandValue": {
    "baseline": false,
    "support": {
     "chrome": "1",
     "chrome_android": "18",
     "edge": "12",
     "firefox": "69",
     "firefox_android": "79",
     "safari": "2",
     "safari_ios": "1"
    }
   }
  },
  "support": {
   "chrome": "1",
   "chrome_android": "18",
   "edge": "12",
   "firefox": "69",
   "firefox_android": "79",
   "safari": "1.3",
   "safari_ios": "1"
  }
 },
 "id": "execcommand",
 "groups": [
  "clipboard"
 ],
 "specs": [
  {
   "url": "https://w3c.github.io/editing/docs/execCommand/"
  }
 ],
 "mdnUrls": [
  {
   "slug": "Web/API/Document/execCommand",
   "title": "Document: execCommand() method",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/API/Document/execCommand"
  }
 ],
 "standardPositions": [],
 "hasNegativeStandardPosition": false,
 "stateOfSurveys": [],
 "chromeUseCounters": {},
 "interop": [],
 "wpt": {
  "url": "https://wpt.fyi/results?q=feature:execcommand"
 },
 "developerSignals": null,
 "bugs": {
  "chrome": [
   "https://crbug.com/437908"
  ]
 },
 "useCases": null,
 "baselineLowDateAsObject": null,
 "baselineHighDateAsObject": null
}