aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/window/getselection
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2021-07-17 16:10:02 +0800
committerIrvin <irvinfly@gmail.com>2021-07-19 23:04:27 +0800
commita02f4b2f60c81e09b318a090e5c9c2d2d641c878 (patch)
tree2b1849e7a34cb367ff6624e35a35fc827eceef6b /files/zh-cn/web/api/window/getselection
parent8af4d5e8a260f3474b4273d573532ec6fec08ab4 (diff)
downloadtranslated-content-a02f4b2f60c81e09b318a090e5c9c2d2d641c878.tar.gz
translated-content-a02f4b2f60c81e09b318a090e5c9c2d2d641c878.tar.bz2
translated-content-a02f4b2f60c81e09b318a090e5c9c2d2d641c878.zip
replace wiki links in zh-CN
Diffstat (limited to 'files/zh-cn/web/api/window/getselection')
-rw-r--r--files/zh-cn/web/api/window/getselection/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/window/getselection/index.html b/files/zh-cn/web/api/window/getselection/index.html
index 825ee1787d..fcaf9bf733 100644
--- a/files/zh-cn/web/api/window/getselection/index.html
+++ b/files/zh-cn/web/api/window/getselection/index.html
@@ -48,7 +48,7 @@ translation_of: Web/API/Window/getSelection
<p>值得注意的是,目前在Firefox, Edge (非 Chromium 版本) 及 Internet Explorer 中,<code>getSelection()</code> 对 {{htmlelement("textarea")}} 及 {{htmlelement("input")}} 元素不起作用。 {{domxref("HTMLInputElement.setSelectionRange()")}} 或 <code>selectionStart</code> 及 <code>selectionEnd</code> 属性可用于解决此问题。</p>
-<p>还要注意选择不同于焦点(详见 <a href="https://wiki.developer.mozilla.org/zh-CN/docs/Web/API/Selection#Selection_%E5%8F%8A%E8%BE%93%E5%85%A5%E7%84%A6%E7%82%B9">Selection 及输入焦点</a>)。可使用{{domxref("Document.activeElement")}} 来返回当前的焦点元素.</p>
+<p>还要注意选择不同于焦点(详见 <a href="/zh-CN/docs/Web/API/Selection#Selection_%E5%8F%8A%E8%BE%93%E5%85%A5%E7%84%A6%E7%82%B9">Selection 及输入焦点</a>)。可使用{{domxref("Document.activeElement")}} 来返回当前的焦点元素.</p>
<h2 id="浏览器兼容性">浏览器兼容性</h2>