{"json_modified": "2016-09-22T04:43:21.768426", "uuid": "8ac68c20-c34d-4bf3-ae7d-2f62323229fc", "title": "document.execCommand", "url": "/ja/docs/Web/API/Document/execCommand", "tags": ["API", "Editor", "NeedsBrowserCompatibility", "Reference", "editor", "DOM", "Method"], "translations": [{"uuid": "025a6dde-153d-47ac-ae02-994088c0a4c9", "title": "Document.execCommand()", "url": "/en-US/docs/Web/API/Document/execCommand", "tags": ["API", "NeedsBrowserCompatibility", "NeedsExample", "Reference", "editor", "DOM", "Method"], "summary": "When an HTML document has been switched to designMode, the document object exposes the execCommand method which allows one to run commands to manipulate the contents of the editable region. Most commands affect the document's selection (bold, italics, etc.), while others insert new elements (adding a link) or affect an entire line (indenting). When using contentEditable, calling execCommand() will affect the currently active editable element.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-07-31T19:06:16", "review_tags": ["technical"]}, {"uuid": "635116c3-50d3-4cfa-984e-fec71e0159b1", "title": "Document.execCommand()", "url": "/es/docs/Web/API/Document/execCommand", "tags": ["API", "DOM", "NecesitaEjemplo", "metodo", "Referencia", "Refer\u00eancia"], "summary": "Cuando un documento HTML se ha cambiado a designMode, el objeto de documento expone el m\u00e9todo execCommand lo que permite ejecutar comandos para manipular el contenido de la regi\u00f3n editable. La mayor\u00eda de los comandos afectan a la selecci\u00f3n de documento (negrita, cursiva, etc.), mientras que otros insertar nuevos elementos (a\u00f1adiendo un enlace) o afectan a toda una l\u00ednea (sangr\u00eda). Al usar contentEditable, la llamada a execCommand afectar\u00e1 el elemento editable activo actual.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-03-22T21:47:01", "review_tags": []}, {"uuid": "94a4c65e-fd26-4950-8506-1446b6571a05", "title": "document.execCommand", "url": "/fr/docs/Web/API/Document/execCommand", "tags": [], "summary": "Voir\u00a0\u00c9dition de texte riche dans Mozilla.", "localization_tags": [], "locale": "fr", "last_edit": "2013-01-31T11:17:42", "review_tags": []}, {"uuid": "debd0955-678f-4424-a9c1-e80d72d884c1", "title": "Document.execCommand()", "url": "/it/docs/Web/API/Document/execCommand", "tags": [], "summary": "When an HTML document has been switched to designMode, the document object exposes the execCommand method which allows one to run commands to manipulate the contents of the editable region. Most commands affect the document's selection (bold, italics, etc), while others insert new elements (adding a link) or affect an entire line (indenting). When using contentEditable, calling execCommand will affect the currently active editable element.", "localization_tags": ["inprogress"], "locale": "it", "last_edit": "2015-05-08T10:26:04", "review_tags": []}, {"uuid": "09b11fa0-1f85-4cdc-ab13-b212afcbf055", "title": "Document.execCommand()", "url": "/ko/docs/Web/API/Document/execCommand", "tags": [], "summary": "HTML \ubb38\uc11c\uac00 designMode\ub85c \uc804\ud658\ub418\uba74 \ubb38\uc11c\uc5d0\uc11c execCommand \uba54\uc11c\ub4dc\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uac8c \ub418\ub294\ub370 \uc774\uac83\uc744 \uc774\uc6a9\ud574\uc11c \ubb38\uc11c\uc758 \ud3b8\uc9d1 \uac00\ub2a5\ud55c \uc601\uc5ed\uc744 \ubcc0\uacbd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub300\ubd80\ubd84\uc758 \uba85\ub839\uc5b4\ub294 \ubb38\uc11c\uc758 \uc120\ud0dd \uc601\uc5ed\uc5d0 \uc601\ud5a5(\ubcfc\ub4dc, \uc774\ud0e4\ub9ad \ub4f1)\uc744 \ubbf8\uce58\uace0 \ub098\uba38\uc9c0\ub294 \uc0c8 \uc694\uc18c\ub97c \ucd94\uac00(\ub9c1\ud06c \ucd94\uac00)\ud558\uac70\ub098 \uc804\uccb4 \uc904\uc5d0 \uc601\ud5a5(\ub4e4\uc5ec\uc4f0\uae30)\uc744 \ubbf8\uce69\ub2c8\ub2e4. contentEditable\uc744 \uc0ac\uc6a9\ud560 \ub54c\uc5d0 execCommand()\ub97c \ud638\ucd9c\ud558\uba74 \ud604\uc7ac \ud65c\uc131\ud654\ub41c \ud3b8\uc9d1 \uc694\uc18c\uc5d0 \uc601\ud5a5\uc744 \ubbf8\uce69\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2016-07-11T00:08:42", "review_tags": []}, {"uuid": "d1dea2d2-faf0-4ca8-af70-7acb6be03501", "title": "Document.execCommand()", "url": "/ru/docs/Web/API/Document/execCommand", "tags": [], "summary": "\u041a\u043e\u0433\u0434\u0430 HTML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d \u0432 designMode, \u043e\u0431\u044a\u0435\u043a\u0442 document \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043c\u0435\u0442\u043e\u0434\u00a0execCommand\u00a0, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u043e\u043c \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438. \u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u0430\u043d\u0434 \u0432\u043b\u0438\u044f\u044e\u0442 \u043d\u0430 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 (bold, italics, \u0438 \u0442\u043f.), \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043d\u043e\u0432\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b (createLink) \u0438\u043b\u0438 \u0432\u043b\u0438\u044f\u044e\u0442 \u043d\u0430 \u0432\u0441\u044e \u0441\u0442\u0440\u043e\u043a\u0443 (indenting). \u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438\u00a0contentEditable, \u0432\u044b\u0437\u043e\u0432\u00a0execCommand \u0432\u043b\u0438\u044f\u0435\u0442 \u043d\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2016-04-24T02:00:58", "review_tags": []}, {"uuid": "5dbdfc6c-93ec-4df8-a990-e3263cd20b7b", "title": "document.execCommand", "url": "/zh-CN/docs/Web/API/Document/execCommand", "tags": ["API", "DOM"], "summary": "\u5f53\u6587\u6863\u5bf9\u8c61\u88ab\u8f6c\u6362\u4e3a\u8bbe\u8ba1\u6a21\u5f0f\u7684\u65f6\u5019\uff08\u9009\u4e2d\uff0c\u8bbe\u7f6econtentEditable\u7b49\uff09\uff0c\u6587\u6863\u5bf9\u8c61\u63d0\u4f9b\u4e86\u4e00\u4e2aexecCommand\u65b9\u6cd5\uff0c\u901a\u8fc7\u7ed9\u8fd9\u8fd9\u4e2a\u65b9\u6cd5\u4f20\u9012\u53c2\u6570\u547d\u4ee4\u53ef\u4ee5\u64cd\u4f5c\u53ef\u7f16\u8f91\u533a\u57df\u7684\u5185\u5bb9\u3002\u8fd9\u4e2a\u65b9\u6cd5\u7684\u547d\u4ee4\u5927\u591a\u6570\u662f\u5bf9\u6587\u6863\u9009\u4e2d\u533a\u57df\u7684\u64cd\u4f5c\u00a0(\u5982bold, italics\u7b49), \u4e5f\u53ef\u4ee5\u63d2\u5165\u4e00\u4e2a\u5143\u7d20(\u5982\u589e\u52a0\u4e00\u4e2aa\u94fe\u63a5) \u6216\u8005\u4fee\u6539\u4e00\u4e2a\u5b8c\u6574\u884c (\u5982\u7f29\u8fdb).\u3002\u5f53\u5143\u7d20\u88ab\u8bbe\u7f6e\u4e86contentEditable\uff0c\u901a\u8fc7\u6267\u884cexecCommand\u00a0\u65b9\u6cd5\u53ef\u4ee5\u5bf9\u5f53\u524d\u6d3b\u52a8\u5143\u7d20\u8fdb\u884c\u5f88\u591a\u64cd\u4f5c\u3002", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-08-24T23:51:38", "review_tags": []}], "modified": "2016-09-22T04:43:20", "label": "document.execCommand", "localization_tags": [], "locale": "ja", "id": 74665, "last_edit": "2016-09-22T04:43:11", "summary": "HTML \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c designMode \u3078\u5207\u308a\u66ff\u3048\u3089\u308c\u308b\u3068\u3001document \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f execCommand \u30e1\u30bd\u30c3\u30c9\u3092\u9732\u5448\u3057\u307e\u3059\u3002\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u7de8\u96c6\u53ef\u80fd\u9818\u57df\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u64cd\u4f5c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u591a\u304f\u306e\u30b3\u30de\u30f3\u30c9 (bold\u3001italics\u3001\u4ed6) \u306f document \u5185\u306e\u9078\u629e\u7bc4\u56f2\u306b\u5f71\u97ff\u3092\u53ca\u307c\u3057\u307e\u3059\u304c\u3001\u305d\u306e\u4ed6\u306b\u65b0\u3057\u3044\u8981\u7d20\u3092\u633f\u5165 (\u30ea\u30f3\u30af\u3092\u8ffd\u52a0) \u3059\u308b\u30b3\u30de\u30f3\u30c9\u3084\u884c\u5168\u4f53 (\u5b57\u4e0b\u3052) \u306b\u5f71\u97ff\u3092\u53ca\u307c\u3059\u30b3\u30de\u30f3\u30c9\u3082\u3042\u308a\u307e\u3059\u3002contentEditable \u3092\u4f7f\u7528\u3057\u305f\u5834\u5408\u3001execCommand() \u30e1\u30bd\u30c3\u30c9\u306f\u73fe\u5728\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u7de8\u96c6\u53ef\u80fd\u8981\u7d20\u306b\u5f71\u97ff\u3092\u53ca\u307c\u3057\u307e\u3059\u3002", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "\u69cb\u6587"}, {"id": "Return_value", "title": "\u623b\u308a\u5024"}, {"id": "Parameters", "title": "\u5f15\u6570"}, {"id": "Commands", "title": "\u30b3\u30de\u30f3\u30c9"}, {"id": "Example", "title": "\u4f8b"}, {"id": "Specification", "title": "\u4ed5\u69d8"}, {"id": "Browser_Compatibility", "title": "\u30d6\u30e9\u30a6\u30b6\u5b9f\u88c5\u72b6\u6cc1"}, {"id": "See_also", "title": "\u53c2\u7167"}], "slug": "Web/API/Document/execCommand", "review_tags": []}