# 更新到最新版Discourse Beta后嵌入项损坏

**URL:** https://meta.discourse.org/t/embedded-items-broken-after-updating-to-latest-discourse-beta/320859
**Category:** Support
**Created:** [2024年八月9日 08:20 UTC](https://meta.discourse.org/t/embedded-items-broken-after-updating-to-latest-discourse-beta/320859 "2024-08-09T08:20:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ahmed7](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed7/32/486378_2.png) [@Ahmed7](https://meta.discourse.org/u/Ahmed7)
#### Post date: [2024年八月9日 08:20 UTC](https://meta.discourse.org/t/embedded-items-broken-after-updating-to-latest-discourse-beta/320859/1 "2024-08-09T08:20:43Z")

</div>

大家好，

我们最近在 AnkiHub Discourse 社区（网址：[https://community.ankihub.net/）将版本升级到了最新的](https://community.ankihub.net/%EF%BC%89%E5%B0%86%E7%89%88%E6%9C%AC%E5%8D%87%E7%BA%A7%E5%88%B0%E4%BA%86%E6%9C%80%E6%96%B0%E7%9A%84) Beta 版。

我们注意到，我们无法再看到新嵌入的项目。我们也无法再添加嵌入的项目（因为它们不显示）。

现在看起来是这样的：

 ![CleanShot 2024-08-08 at 21.52.03@2x](https://global.discourse-cdn.com/meta/original/4X/2/1/9/2193b67204f80bcc3ba8833c59477aa7346b7cd8.jpeg)

以前看起来是这样的：[CleanShot 2024-08-09 at 11.16.47](https://share.cleanshot.com/J2XHFwxM)

我尝试添加一个 Iorad 教程的 iframe，但它不再出现（由于我是新用户，我只能添加一张图片 🙂）。

请告知这是否是一个新 bug，或者是否需要我们在自己的端进行一些配置。

提前感谢！

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2024年八月9日 08:23 UTC](https://meta.discourse.org/t/embedded-items-broken-after-updating-to-latest-discourse-beta/320859/2 "2024-08-09T08:23:32Z")

</div>

你好，欢迎你 @Ahmed7 🙂

你能检查一下你的 `允许的 iframe` 设置，并确保它们以斜杠 `/` 结尾吗？

---

<div class="post-metadata">

### Author: ![aas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aas/32/289331_2.png) [@aas](https://meta.discourse.org/u/aas)
#### Post date: [2024年八月9日 14:02 UTC](https://meta.discourse.org/t/embedded-items-broken-after-updating-to-latest-discourse-beta/320859/3 "2024-08-09T14:02:15Z")

</div>

我添加了尾部斜杠，但它们仍然不起作用。有趣的是，带有 iframe 嵌入的旧帖子（升级前）可以工作，但新帖子却不行。此外，iframe 在编辑器预览中渲染，但在实际帖子中却不行：

 ![CleanShot 2024-08-09 at 07.01.16@2x](https://global.discourse-cdn.com/meta/original/4X/1/8/0/1800689bf3a4005e8e866a20688938631b9039a6.png)  
 ![CleanShot 2024-08-09 at 07.02.02@2x](https://global.discourse-cdn.com/meta/original/4X/9/5/c/95c9bf9c6abbd61bd882f1a451e8e14ba31ef08b.png)
