Skip to content

Commit

Permalink
[zh-cn] sync translated content (mdn#18614)
Browse files Browse the repository at this point in the history
* zh-cn: sync translated content

* Remove the contextmenu global HTML attribute

ref: mdn/content#32651

---------

Co-authored-by: Allo <yin199909@aliyun.com>
  • Loading branch information
2 people authored and ciyoe committed Apr 20, 2024
1 parent 7d904c8 commit 64ecfc4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 117 deletions.
1 change: 1 addition & 0 deletions files/zh-cn/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2390,6 +2390,7 @@
/zh-CN/docs/Web/HTML/Forms/How_to_build_custom_form_widgets /zh-CN/docs/Learn/Forms/How_to_build_custom_form_controls
/zh-CN/docs/Web/HTML/Forms/Sending_forms_through_JavaScript /zh-CN/docs/Learn/Forms/Sending_forms_through_JavaScript
/zh-CN/docs/Web/HTML/Forms/表单入门 /zh-CN/docs/Learn/Forms/Your_first_form
/zh-CN/docs/Web/HTML/Global_attributes/contextmenu /zh-CN/docs/Web/HTML/Element/menu
/zh-CN/docs/Web/HTML/Global_attributes/摩缺 /zh-CN/docs/Web/HTML/Global_attributes/accesskey
/zh-CN/docs/Web/HTML/Index /zh-CN/docs/Web/HTML
/zh-CN/docs/Web/HTML/Inline_elemente /zh-CN/docs/Glossary/Inline-level_content
Expand Down
4 changes: 0 additions & 4 deletions files/zh-cn/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -22280,10 +22280,6 @@
"modified": "2020-10-15T21:37:25.983Z",
"contributors": ["zhangchen", "xgqfrms", "eforegist", "AlexChao"]
},
"Web/HTML/Global_attributes/contextmenu": {
"modified": "2020-10-15T21:51:27.709Z",
"contributors": ["SphinxKnight", "eforegist", "Ende93", "shuangya"]
},
"Web/HTML/Global_attributes/data-*": {
"modified": "2020-10-15T21:36:49.775Z",
"contributors": [
Expand Down
11 changes: 0 additions & 11 deletions files/zh-cn/web/html/attributes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,17 +279,6 @@ HTML 中的元素拥有**属性**(attribute);这些额外的值可以配
</td>
<td>指示该元素的内容是否可以被编辑。</td>
</tr>
<tr>
<td>
<code><a href="/zh-CN/docs/Web/HTML/Global_attributes/contextmenu">contextmenu</a></code> {{non-standard_inline}} {{deprecated_inline}}
</td>
<td>
<a href="/zh-CN/docs/Web/HTML/Global_attributes">全局属性</a>
</td>
<td>
定义将用作元素上下文菜单的 {{ HTMLElement("menu") }} 元素的 ID。
</td>
</tr>
<tr>
<td>
<code><a href="/zh-CN/docs/Web/HTML/Attributes/controls">controls</a></code>
Expand Down
100 changes: 0 additions & 100 deletions files/zh-cn/web/html/global_attributes/contextmenu/index.md

This file was deleted.

2 changes: 0 additions & 2 deletions files/zh-cn/web/html/global_attributes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ slug: Web/HTML/Global_attributes
- `true` 或者*空字符串*,表明元素是可被编辑的;
- `false`,表明元素不能被编辑。

- [`contextmenu`](/zh-CN/docs/Web/HTML/Global_attributes/contextmenu) {{deprecated_inline}}
- : {{HTMLElement("menu")}} 的 [**`id`**](#id),作为该元素的上下文菜单。
- [`data-*`](/zh-CN/docs/Web/HTML/Global_attributes/data-*)
- : 形成一类属性,称为自定义数据属性,允许在 [HTML](/zh-CN/docs/Web/HTML) 和其 {{glossary("DOM")}} 表示之间交换专有信息,可由脚本使用。所有这些自定义数据属性都可以通过所属元素的 {{DOMxRef("HTMLElement")}} 接口来访问。通过 {{DOMxRef("HTMLElement.dataset")}} 属性可以访问它们。
- [`dir`](/zh-CN/docs/Web/HTML/Global_attributes/dir)
Expand Down

0 comments on commit 64ecfc4

Please sign in to comment.