# 我没有看到编辑主题的 CSS/HTML 的选项

**URL:** https://meta.discourse.org/t/i-dont-see-option-to-edit-css-html-for-a-theme/177852
**Category:** Support
**Created:** [2021年一月31日 16:21 UTC](https://meta.discourse.org/t/i-dont-see-option-to-edit-css-html-for-a-theme/177852 "2021-01-31T16:21:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Idan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/idan/32/198212_2.png) [@Idan](https://meta.discourse.org/u/Idan)
#### Post date: [2021年一月31日 16:21 UTC](https://meta.discourse.org/t/i-dont-see-option-to-edit-css-html-for-a-theme/177852/1 "2021-01-31T16:21:39Z")

</div>

当我进入“自定义”\>“主题”并选择当前激活的主题时，找不到编辑 CSS/HTML 的选项。

如何查看编辑选项？

更新：我发现有些主题有该选项，有些则没有。是否有方法启用它，或者是否有功能相同的组件？

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [2021年一月31日 17:37 UTC](https://meta.discourse.org/t/i-dont-see-option-to-edit-css-html-for-a-theme/177852/2 "2021-01-31T17:37:20Z")

</div>

你好！

这是 Discourse 最近添加的一项功能。你可以在下方链接的主题中了解更多详情：

> [@Restrict editing of remote themes](https://meta.discourse.org/t/restrict-editing-of-remote-themes/170051):
>
> For quite a while, best practice has been to avoid editing themes installed from a remote Git repository locally on Discourse. Any changes to theme code or uploads get wiped out when updating the theme from the remote repo. In this commit, we’ve removed the ability to locally edit a remote theme and are now enforcing this best practice in Discourse. What happens if I have a remote theme with local changes? Nothing at this point. Your theme stays as is until you remove it or update it from re…

谢谢！

---

<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: [2021年三月2日 17:37 UTC](https://meta.discourse.org/t/i-dont-see-option-to-edit-css-html-for-a-theme/177852/3 "2021-03-02T17:37:54Z")

</div>

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