# Paste from Discourse to Google Doc loses bold

**URL:** https://meta.discourse.org/t/paste-from-discourse-to-google-doc-loses-bold/206202
**Category:** Support
**Created:** [October 16, 2021, 1:39am UTC](https://meta.discourse.org/t/paste-from-discourse-to-google-doc-loses-bold/206202 "2021-10-16T01:39:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![RickThrivingNow](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rickthrivingnow/32/119287_2.png) [@RickThrivingNow](https://meta.discourse.org/u/RickThrivingNow)
#### Post date: [October 16, 2021, 1:39am UTC](https://meta.discourse.org/t/paste-from-discourse-to-google-doc-loses-bold/206202/1 "2021-10-16T01:39:01Z")

</div>

Has anyone else seen **this issue** where if you copy/paste from discourse preview window or displayed message that **the bold text is not bolded** but the _italics text is left in italics_?

If someone has seen this or figured it out, it would be truly helpful. We need to develop documents in our Discourse but when we paste them into Google Docs and lose the bold, well, it’s a problem. The HTML looks fine, a **bolded text**

I’m pretty sure it is a Gmail issue, but if there’s a way around it, would be a big help to know.

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [October 16, 2021, 5:36pm UTC](https://meta.discourse.org/t/paste-from-discourse-to-google-doc-loses-bold/206202/2 "2021-10-16T17:36:50Z")

</div>

I copied your text into docs and see your problem.

I then copied your text into a new mail in gmail, and the bold showed. So it seems that something in google docs have changed, or its a bug

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/1/71cf9ec4474f6b433651f1e8228853ddcd9ee2ef.png)

I tried to copy it from the new email to docs and it still failed.

---

<div class="post-metadata">

### Author: ![anon73664359](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@anon73664359](https://meta.discourse.org/u/anon73664359)
#### Post date: [October 16, 2021, 5:58pm UTC](https://meta.discourse.org/t/paste-from-discourse-to-google-doc-loses-bold/206202/3 "2021-10-16T17:58:06Z")

</div>

It might have something to do with this.  
[https://9to5google.com/2021/05/11/google-docs-canvas-rendering/](https://9to5google.com/2021/05/11/google-docs-canvas-rendering/)

---

<div class="post-metadata">

### Author: ![RickThrivingNow](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rickthrivingnow/32/119287_2.png) [@RickThrivingNow](https://meta.discourse.org/u/RickThrivingNow)
#### Post date: [October 18, 2021, 2:07am UTC](https://meta.discourse.org/t/paste-from-discourse-to-google-doc-loses-bold/206202/4 "2021-10-18T02:07:32Z")

</div>

Appreciate you checking. Helps to know another config is seeing the same issue.

I did some CSS testing. Here on Discourse:

```plaintext
b, strong {
font-weight: bolder;
}

```

If I changed to:

```plaintext
b, strong {
font-weight: 700;
}

```

then the bold copies over to Google Docs just fine! Even shows as [B] in the toolbar. Oh, and “font-weight: bold;” also works, just not bolder!

I went to `/admin/customize/themes/1/common/scss/edit` and added `b, strong { font-weight: bold; }` – now it works for pasting bold! Yay!!

Anyway, at least it looks like a CSS compatibility issue between Discourse and Google Docs for the pasting of bold. Whew!

---

<div class="post-metadata">

### Author: ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### Post date: [October 18, 2021, 7:12am UTC](https://meta.discourse.org/t/paste-from-discourse-to-google-doc-loses-bold/206202/5 "2021-10-18T07:12:25Z")

</div>


