# 将默认链接帖子设置为“展开”？

**URL:** https://meta.discourse.org/t/setting-to-default-linked-posts-to-expand/404036
**Category:** Support
**Created:** [2026 年5 月 28 日 20:03 UTC](https://meta.discourse.org/t/setting-to-default-linked-posts-to-expand/404036 "2026-05-28T20:03:48Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![haydenjames](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/haydenjames/32/255678_2.png) [@haydenjames](https://meta.discourse.org/u/haydenjames)
#### Post date: [2026 年5 月 28 日 20:03 UTC](https://meta.discourse.org/t/setting-to-default-linked-posts-to-expand/404036/1 "2026-05-28T20:03:48Z")

</div>

是否有管理员设置可以切换，使链接到其他帖子/主题的默认状态为展开，而不是默认折叠？

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/2/d/12dfc10329834a21396101feda58b28ebf8dcd96.png)

我搜索并找到了这个旧话题：

> [@Is there a way to expand collapsed text by default?](https://meta.discourse.org/t/is-there-a-way-to-expand-collapsed-text-by-default/101972/3):
>
> The only way I know of would be through JavaScript, you could probably run an event that looks for a details tag and adds the attribute ‘open’ to it. Something like this: $('details').attr('open','') Figuring out the right event to fire that on, is a different question.

**编辑** - 因此默认状态应为：

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/8/2/082ce9b108950bcad8921135cfffbf0c726ad225.png)

---

_[View the full topic](https://meta.discourse.org/t/setting-to-default-linked-posts-to-expand/404036)._
