# 作曲家、字体-family 和 CSS

**URL:** <https://meta.discourse.org/t/composer-font-family-and-css/359788>\
**Category:** Development\
**Tags:** composer\
**Created:** [2025年四月1日 05:37 UTC](https://meta.discourse.org/t/composer-font-family-and-css/359788 "2025-04-01T05:37:12Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [2025年四月1日 05:37 UTC](https://meta.discourse.org/t/composer-font-family-and-css/359788/1 "2025-04-01T05:37:12Z")

</div>

继续此主题 [在 Meta 上试用我们的新编辑器！](https://meta.discourse.org/t/test-our-new-composer-on-meta/352347)：

抱歉，真正的开发者们——这是一个完全 101 级别的问题，但我们没有这样的类别 🤦‍♂️ 😂

我有这个：

```css
.d-editor-container .d-editor-textarea-wrapper textarea.d-editor-input {
    font-family: var(--d-font-family--monospace);
  }

```

- ~~我注释掉了富文本编辑器部分，因为我还没有那个设置~~ 已经编辑了，现在应该可以工作了

但是我在那里应该使用什么字体系列？当然，这是品味问题，但如果我想遵循一些合理的指南，同时又不破坏我的论坛……

我知道如何使用 CSS 字体，但我不知道如何在这里告诉它“请使用与之前相同的字体或字体系列，或者我们正在 WYSIWYG 模式下使用的字体”。

---

_[View the full topic](https://meta.discourse.org/t/composer-font-family-and-css/359788)._
