# 如何更改文本编辑器的字体？

**URL:** <https://meta.discourse.org/t/how-do-i-change-the-font-of-the-text-editor/393922>\
**Category:** Support\
**Created:** [2026年一月20日 20:10 UTC](https://meta.discourse.org/t/how-do-i-change-the-font-of-the-text-editor/393922 "2026-01-20T20:10:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hipp0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hipp0/32/537433_2.png) [@hipp0](https://meta.discourse.org/u/hipp0)\
**Post date:** [2026年一月20日 20:10 UTC](https://meta.discourse.org/t/how-do-i-change-the-font-of-the-text-editor/393922/1 "2026-01-20T20:10:10Z")

</div>

我正在使用 Verdana 字体，它在整个网站上都可以正常显示，只是我一直无法更改文本编辑器的字体和字号。

---

<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:** [2026年一月20日 20:17 UTC](https://meta.discourse.org/t/how-do-i-change-the-font-of-the-text-editor/393922/2 "2026-01-20T20:17:49Z")

</div>

> [@sam](#):
>
> 您可以在您的网站上引入主题和组件，覆盖此字体选择只需 3 行 CSS。

这看起来很有希望成功：

```plaintext
.d-editor-container .d-editor-textarea-wrapper textarea.d-editor-input {
    font-family: Verdana, Geneva, Tahoma, sans-serif !important;
}

```

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2026年二月19日 20:18 UTC](https://meta.discourse.org/t/how-do-i-change-the-font-of-the-text-editor/393922/3 "2026-02-19T20:18:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
