# 在另一个网站中嵌入 Discourse 主题列表

**URL:** https://meta.discourse.org/t/embedding-a-list-of-discourse-topics-in-another-site/125911
**Category:** Announcements
**Tags:** embedding
**Created:** [2019年八月15日 17:53 UTC](https://meta.discourse.org/t/embedding-a-list-of-discourse-topics-in-another-site/125911 "2019-08-15T17:53:02Z")
**Posts on this page:** 1
**Showing post:** 118

<div class="post-metadata">

### Author: ![alxndr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alxndr/32/102300_2.png) [@alxndr](https://meta.discourse.org/u/alxndr)
#### Post date: [2021年五月20日 00:52 UTC](https://meta.discourse.org/t/embedding-a-list-of-discourse-topics-in-another-site/125911/118 "2021-05-20T00:52:02Z")

</div>

啊，我的问题似乎是 React 在干扰客户端 DOM，在 `embed-topics.js` 脚本插入 iframe 后立即将其重置为与服务端渲染的 DOM 一致（包含原始的 `<d-topics-list>` 元素）。

---

_[View the full topic](https://meta.discourse.org/t/embedding-a-list-of-discourse-topics-in-another-site/125911)._
