# 从 Word/Outlook 粘贴内容有时会丢失格式和超链接

**URL:** https://meta.discourse.org/t/pasting-content-from-word-outlook-sometimes-loses-formatting-and-hyperlinks/238706
**Category:** Bug
**Created:** [2022年九月11日 20:16 UTC](https://meta.discourse.org/t/pasting-content-from-word-outlook-sometimes-loses-formatting-and-hyperlinks/238706 "2022-09-11T20:16:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![clayg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clayg/32/181131_2.png) [@clayg](https://meta.discourse.org/u/clayg)
#### Post date: [2022年九月11日 20:16 UTC](https://meta.discourse.org/t/pasting-content-from-word-outlook-sometimes-loses-formatting-and-hyperlinks/238706/1 "2022-09-11T20:16:20Z")

</div>

我们组织的总裁每两周会写一封长篇信息与社区分享。她会在 Microsoft Word 中撰写，因为她会花几天时间来完成。

突然，我们发现当我们将 Word（或 Outlook）中的内容复制粘贴到 Discourse 的“创建主题”框中时，格式（包括粗体、斜体和超链接）会被删除。

我也从不同的计算机进行了测试。我的总裁很不高兴。 ☹

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2022年九月11日 22:42 UTC](https://meta.discourse.org/t/pasting-content-from-word-outlook-sometimes-loses-formatting-and-hyperlinks/238706/2 "2022-09-11T22:42:36Z")

</div>

您正在使用哪个版本的 Discourse？基本格式应转换为 markdown，除非您设法不这样做。

您尝试过哪些操作系统和浏览器？

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2022年九月12日 10:37 UTC](https://meta.discourse.org/t/pasting-content-from-word-outlook-sometimes-loses-formatting-and-hyperlinks/238706/3 "2022-09-12T10:37:21Z")

</div>

这些机器上使用的是什么浏览器？Edge 在处理粘贴操作方面进行了一些更改。

---

<div class="post-metadata">

### Author: ![clayg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clayg/32/181131_2.png) [@clayg](https://meta.discourse.org/u/clayg)
#### Post date: [2022年九月12日 12:41 UTC](https://meta.discourse.org/t/pasting-content-from-word-outlook-sometimes-loses-formatting-and-hyperlinks/238706/4 "2022-09-12T12:41:41Z")

</div>

谢谢。我是一名托管客户，无法确定我当前的版本，但我的“管理员”屏幕显示上次更新是在 9 月 1 日。我已在两台不同的 Windows 10 PC 上测试了从 Chrome 和 Firefox 粘贴。

但我刚发现，如果我一次只复制/粘贴几段文字，格式和超链接就能正确地粘贴到新的主题框中。奇怪。

周六，我的临时解决方法是将整个 5 页文档的文本复制/粘贴到另一个 HTML 编辑器（[quackit.com](http://quackit.com)）中，然后从那里重新选择文本并成功地将其复制/粘贴到 Discourse。

因此，我不得不得出结论，Discourse 在粘贴大段文本的内容功能方面存在一些问题？

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [2022年九月12日 13:29 UTC](https://meta.discourse.org/t/pasting-content-from-word-outlook-sometimes-loses-formatting-and-hyperlinks/238706/5 "2022-09-12T13:29:06Z")

</div>

供参考，Edge 在此处表现顽皮：

> [@When I paste links it automatically turns them into markdown links? \[Edge\]](https://meta.discourse.org/t/when-i-paste-links-it-automatically-turns-them-into-markdown-links-edge/237903?u=merefield):
>
> When I paste links, they automatically get markedown linked, as if I had pressed ctrl+k. This is definitely some weird user error situation, as other people in my organisation do not have the issue. But they use Chrome and I use Microsoft Edge. If I login via Chrome it does not do this. Anyone got an idea as to what setting could be causing this? All my google fu returns nothing.
