# 在 Windows 10 上使用 Chrome 时，无法在 Discourse 帖子中输入冒号字符

**URL:** https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481
**Category:** Support
**Created:** [2020年一月22日 22:07 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481 "2020-01-22T22:07:43Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [2020年一月22日 22:07 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/1 "2020-01-22T22:07:43Z")

</div>

出于某种原因，仅在发布到 Discourse 论坛时，我现在无法输入或粘贴冒号。在 Discourse 搜索栏中也无法输入冒号（虽然这种情况并不常见）。没有错误提示，但任何输入的冒号都会被直接移除。

至少对于帖子而言，这确实是个问题，因为冒号就像其他标点符号一样，是书面英语表达的重要组成部分。

我猜测这是一个漏洞？是否是在最新的 Beta 10 更新中引入的？可能与表情符号有关？

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2020年一月22日 22:11 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/2 "2020-01-22T22:11:52Z")

</div>

你的意思是无法输入冒号，比如在列表前：

- 这个
- :
- ；

也许是表情符号自动补全功能让你产生了困惑？可以通过输入空格来关闭该功能，当冒号紧邻字母时不会触发，你也可以在冒号后换行。

---

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [2020年一月22日 22:19 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/3 "2020-01-22T22:19:29Z")

</div>

我无法发布与下方图片中字符相同的冒号。  
 ![image](https://global.discourse-cdn.com/meta/original/3X/1/7/1707fae4948334a52393ccb7285169eeb10202bb.png)

在冒号前后按空格键没有任何区别（至少对我来说是这样），直接在字母旁边输入冒号也无法显示该字符。

\*\*\* 编辑——这似乎是 Chrome 浏览器特有的问题。在 Firefox 中，冒号字符可以正常显示。

是否有关于 Chrome 的已知情况，会导致该问题仅在 Discourse 网页中出现，而在其他网页中不会出现？

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [2020年一月22日 22:25 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/4 "2020-01-22T22:25:03Z")

</div>

> [@Paul\_King](#):
>
> 我无法输入冒号

你的意思是无法_输入_冒号吗？

我在 Chrome 浏览器中测试，`:` 是可以正常输入的

:

- :

→ :

你试过在无痕模式下吗？

我在移动设备上也可以正常输入冒号。

---

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [2020年一月22日 22:31 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/5 "2020-01-22T22:31:31Z")

</div>

> [@supermathie](#):
>
> 也就是说，你无法_输入_冒号？
> 
> 对我来说，在 Chrome 中 `:` 是有效的
> 
> :
> 
> - :
> 
> → :
> 
> 你试过无痕模式吗？
> 
> 在手机上对我而言 `:` 也能用。

你好，我在 Windows 10 PC 上使用 Chrome 时，既无法粘贴也无法输入冒号到 Discourse 中。但在我使用 Android 手机上的 Chrome，或 PC 上的其他浏览器时，都没有问题。即使在 PC 上使用 Chrome 的无痕模式，问题依然存在。

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2020年一月22日 22:33 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/6 "2020-01-22T22:33:05Z")

</div>

因此，您可以在 PC 上的 Firefox 浏览器和手机上的 Chrome 浏览器中正常使用，这意味着问题出在您个人安装的 Chrome 浏览器本地。建议尝试移除浏览器中的所有扩展程序。

---

<div class="post-metadata">

### Author: ![Pixipea](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pixipea/32/568969_2.png) [@Pixipea](https://meta.discourse.org/u/Pixipea)
#### Post date: [2020年一月22日 22:35 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/7 "2020-01-22T22:35:20Z")

</div>

: 对我来说在以下环境中有效：

| | |
| --- | --- |
| Google Chrome | 79.0.3945.117（官方构建）（64 位）（队列：稳定版） |
| 修订版 | 04f0a055010adab4484f7497fbfdbf312c307f1d-refs/branch-heads/3945@{#1019} |
| 操作系统 | Windows 10 操作系统版本 1809（版本 17763.973） |

@Paul_King 你能从 `chrome://version/` 粘贴你的版本信息吗？

---

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [2020年一月22日 22:36 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/8 "2020-01-22T22:36:44Z")

</div>

所有扩展程序都已消失 - ：但问题仍然存在。奇怪的是，同一浏览器可以在其他非 Discourse 网页中接受冒号，因此该问题既特定于 Discourse，也特定于此浏览器安装。

---

<div class="post-metadata">

### Author: ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)
#### Post date: [2020年一月22日 22:42 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/9 "2020-01-22T22:42:20Z")

</div>

我可以在这里以及一个月前创建的论坛上进行操作。在最新更新前后，我均使用 Chrome 在两个论坛上进行了测试。

79.0.3945.117（官方构建版）（64 位）  
79.0.3945.130（官方构建版）（64 位）

Windows 10 操作系统版本 1903（内部版本 18362.592）

---

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [2020年一月22日 22:45 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/10 "2020-01-22T22:45:25Z")

</div>

> [@Pixipea](#):
>
> @Paul_King 你能从 `chrome://version/` 粘贴你的版本信息吗？

| Google Chrome | 79.0.3945.117（官方构建）（64 位）（群组：Stable） |
| --- | --- |
| 修订版 | 04f0a055010adab4484f7497fbfdbf312c307f1d-refs/branch-heads/3945@{#1019} |
| 操作系统 | Windows 10 操作系统版本 2004（内部版本 19041.21） |
| JavaScript | V8 7.9.317.32 |
| Flash | 32.0.0.321 C:\Users\paulk\AppData\Local\Google\Chrome\User Data\PepperFlash\32.0.0.321\pepflashplayer.dll |
| 用户代理 | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36 |
| 命令行 | “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” --flag-switches-begin --enable-features=WebRtcHideLocalIpsWithMdns --flag-switches-end --enable-audio-service-sandbox |

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [2020年一月22日 22:54 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/11 "2020-01-22T22:54:08Z")

</div>

> [@Paul\_King](#):
>
> 版本 19041.21

看起来这个 Windows 版本是 Insider 预览版？这_可能_需要向 Windows 操作系统团队报告。

---

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [2020年一月22日 23:07 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/12 "2020-01-22T23:07:57Z")

</div>

我想是的——不过具体得有点离谱：仅在 Chrome 浏览器下出现，且仅当显示 Discourse 网页时。 （注：我使用的是 Firefox 回复，所以我可以 :::::::！）

---

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [2020年一月22日 23:41 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/13 "2020-01-22T23:41:00Z")

</div>

此外，在 Chrome 中重新打开此线程后，我之前输入的所有冒号都不可见……这让我怀疑这是否是浏览器字体问题，特别是由 Discourse 用于该论坛主题的某种字体所暴露出来的问题。

---

<div class="post-metadata">

### Author: ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)
#### Post date: [2020年一月22日 23:48 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/14 "2020-01-22T23:48:16Z")

</div>

> [@Paul\_King](#):
>
> 虽然非常具体

你无法判断其具体程度，因为除非进行更多测试，否则你无法了解当前问题在任何维度上的影响范围。它可能会影响所有基于 Chromium 的网页浏览器。你可能尚未测试所有字符。等等。

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [2020年一月23日 00:05 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/15 "2020-01-23T00:05:12Z")

</div>

> [@Paul\_King](#):
>
> 这让我怀疑是不是浏览器字体的问题

这很有道理！

如果你在 Chrome 中输入一串冒号并发布，它们在 Firefox 中会显示吗？

通过开发者工具覆盖字体能解决吗？

---

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [2020年一月23日 00:12 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/16 "2020-01-23T00:12:26Z")

</div>

测试所有（美国）键盘可访问字符后，我的测试表明只有冒号受到影响。

根据上述评论，其他平台上的 Chrome 浏览器未受影响。

我刚安装了 Chrome Edge 浏览器进行测试，可以确认它也受到类似影响（在 Discourse 中冒号不可见，但在其他网页上可见）。

现在在 Chrome 中，输入一堆（对我来说不可见的）冒号会显示为 ::::::::::::

看起来在开发者工具中临时覆盖字体-family 可以暂时解决问题，使上述冒号显示出来（这仅通过删除特定的 ‘Helvetica’ 字体引用来实现，保留 ‘Arial’ 和/或 ‘Sans-serif’ 不会引发问题）。

对于将 Helvetica 安装为系统字体的用户，这可能是 Discourse 在 Chrome 环境中的特定问题，但在其他浏览器中则不会？

**编辑** 确认卸载 Helvetica 系统字体后，Chrome 和 Chrome Edge 浏览器中的问题已解决。  
但这并不是一个可行的变通方案，因为和许多人一样，我在 CAD 和其他图形应用程序中使用 Helvetica，如果替换为其他字体，现有文档的格式将会混乱。  
在 Google 上搜索发现，Windows 和 Mac 用户在其他地方也报告了与 Helvetica 字体在 Chrome 中某些网站上类似但并非完全相同的问题。

---

<div class="post-metadata">

### Author: ![Justin\_Vega](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin_vega/32/159021_2.png) [@Justin\_Vega](https://meta.discourse.org/u/Justin_Vega)
#### Post date: [2020年一月24日 00:42 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/17 "2020-01-24T00:42:37Z")

</div>

> [@Pixipea](#):
>
> : 在我的设备上可以正常工作：
> 
> | | |
> | --- | --- |
> | Google Chrome | 79.0.3945.117（官方构建版）（64 位）（群组：稳定版） |
> | 修订版 | 04f0a055010adab4484f7497fbfdbf312c307f1d-refs/branch-heads/3945@{#1019} |
> | 操作系统 | Windows 10 操作系统版本 1809（版本 17763.973） |
> 
> @Paul_King 你能从 `chrome://version/` 粘贴你的版本信息吗？

看起来在 Microsoft Edge 中也能正常工作。

> **浏览器**
>
> 版本 79.0.309.71（官方构建版）（64 位）

> **操作系统**
>
> ![image](https://global.discourse-cdn.com/meta/original/3X/5/4/549d13989a059bc9ac8df6570e22c5253e0fe605.png)

---

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [2020年一月24日 01:14 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/18 "2020-01-24T01:14:28Z")

</div>

您是否安装了 Helvetica 字体？这是否是基于 Chrome 的 Microsoft Edge 版本？

---

<div class="post-metadata">

### Author: ![Justin\_Vega](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin_vega/32/159021_2.png) [@Justin\_Vega](https://meta.discourse.org/u/Justin_Vega)
#### Post date: [2020年一月24日 22:58 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/19 "2020-01-24T22:58:43Z")

</div>

> [@Paul\_King](#):
>
> 您是否安装了 Helvetica 字体？

是作为浏览器的一部分安装的吗？

> [@Paul\_King](#):
>
> 这是基于 Chrome 的 Microsoft Edge 版本吗？

是的，我正在使用稳定版。

---

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [2020年一月24日 23:46 UTC](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481/20 "2020-01-24T23:46:14Z")

</div>

> [@Justin\_Vega](#):
>
> 是作为浏览器的一部分安装的吗？

我的意思是作为系统字体。  
我发现，一旦我卸载了 Helvetica 系统字体，Chrome 和 Chrome-Edge 在显示 Discourse 论坛时就会恢复正常。

其他浏览器对我来说都没有问题，无论是否将 Helvetica 安装为系统字体。而且，即使安装了 Helvetica 系统字体，Chrome 或 Chrome-Edge 中的其他网页对我来说也正常显示。

[下一頁](https://meta.discourse.org/t/cannot-type-a-colon-character-into-discourse-posts-when-using-chrome-on-windows-10/139481.md?page=2)
