# \[MacOS\] Pasting in Dark Mode is stripped of colors

**URL:** <https://forums.ankiweb.net/t/macos-pasting-in-dark-mode-is-stripped-of-colors/22818>\
**Category:** Help\
**Created:** [September 3, 2022, 8:23pm UTC](https://forums.ankiweb.net/t/macos-pasting-in-dark-mode-is-stripped-of-colors/22818 "2022-09-03T20:23:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rememberthis](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/rememberthis/32/10853_2.png) [@Rememberthis](https://forums.ankiweb.net/u/Rememberthis)\
**Post date:** [September 3, 2022, 8:23pm UTC](https://forums.ankiweb.net/t/macos-pasting-in-dark-mode-is-stripped-of-colors/22818/1 "2022-09-03T20:23:43Z")

</div>

**Background**  
MacOS Monterey  
Anki 2.1.54  
I have “Paste without shift key strips formatting” unchecked.

**Symptom**  
During card editing, when I paste from Intellij Idea (with colored text) to Anki, all colors are stripped, yet formatting is retained.

This only happens in the Dark Mode of Anki. If I switch to Light Mode, both the colors and formatting are retained.

If I create the card in Light Mode and view the card in Dark Mode, it also works fine.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [September 8, 2022, 6:38am UTC](https://forums.ankiweb.net/t/macos-pasting-in-dark-mode-is-stripped-of-colors/22818/2 "2022-09-08T06:38:03Z")

</div>

Added to [Text color not preserved when pasting in dark mode · Issue #2055 · ankitects/anki · GitHub](https://github.com/ankitects/anki/issues/2055)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 4:04am UTC](https://forums.ankiweb.net/t/macos-pasting-in-dark-mode-is-stripped-of-colors/22818/3 "2023-05-01T04:04:18Z")

</div>


