# 在聊天区域点击顶部菜单的AI按钮时，编辑器未显示

**URL:** <https://meta.discourse.org/t/when-you-click-on-the-ai-button-on-the-top-menu-while-in-the-chat-section-it-does-not-show-the-editor/327324>\
**Category:** Bug\
**Tags:** mobile, chat, fixed\
**Created:** [2024年九月19日 23:35 UTC](https://meta.discourse.org/t/when-you-click-on-the-ai-button-on-the-top-menu-while-in-the-chat-section-it-does-not-show-the-editor/327324 "2024-09-19T23:35:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuaza](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuaza/32/264151_2.png) [@kuaza](https://meta.discourse.org/u/kuaza)\
**Post date:** [2024年九月19日 23:35 UTC](https://meta.discourse.org/t/when-you-click-on-the-ai-button-on-the-top-menu-while-in-the-chat-section-it-does-not-show-the-editor/327324/1 "2024-09-19T23:35:37Z")

</div>

当在聊天部分时，点击顶部菜单中的 AI 按钮，编辑器不会显示。返回主页后，文本区域会出现。我认为 AI 文本编辑器在聊天部分运行时在后台打开。

1. 示例

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2024年九月20日 04:17 UTC](https://meta.discourse.org/t/when-you-click-on-the-ai-button-on-the-top-menu-while-in-the-chat-section-it-does-not-show-the-editor/327324/2 "2024-09-20T04:17:06Z")

</div>

我不知道为什么看不到视频，但我想 @chapoi 在这里看到了一个 z-index 问题。

---

<div class="post-metadata">

**Author:** ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)\
**Post date:** [2024年九月20日 07:16 UTC](https://meta.discourse.org/t/when-you-click-on-the-ai-button-on-the-top-menu-while-in-the-chat-section-it-does-not-show-the-editor/327324/3 "2024-09-20T07:16:42Z")

</div>

这不是 z-index。撰稿器在聊天页面上是隐藏的。我敢打赌，这里需要做的是路由返回到论坛，然后撰稿器重新打开。我不认为我们想在聊天路由中打开撰稿器？

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2024年九月20日 07:19 UTC](https://meta.discourse.org/t/when-you-click-on-the-ai-button-on-the-top-menu-while-in-the-chat-section-it-does-not-show-the-editor/327324/4 "2024-09-20T07:19:24Z")

</div>

我以为我们支持一个开放的作曲家，这样你就可以在阅读聊天时写东西了？还记得我们为此在桌面上缩小了聊天窗口的大小吗？

---

<div class="post-metadata">

**Author:** ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)\
**Post date:** [2024年九月20日 07:20 UTC](https://meta.discourse.org/t/when-you-click-on-the-ai-button-on-the-top-menu-while-in-the-chat-section-it-does-not-show-the-editor/327324/5 "2024-09-20T07:20:36Z")

</div>

在桌面端当然可以，但在移动设备上要舒适地撰写和阅读聊天内容似乎……有点不现实？

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2024年九月20日 07:22 UTC](https://meta.discourse.org/t/when-you-click-on-the-ai-button-on-the-top-menu-while-in-the-chat-section-it-does-not-show-the-editor/327324/6 "2024-09-20T07:22:00Z")

</div>

是的，同意

---

<div class="post-metadata">

**Author:** ![renato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato/32/383632_2.png) [@renato](https://meta.discourse.org/u/renato)\
**Post date:** [2024年九月20日 10:27 UTC](https://meta.discourse.org/t/when-you-click-on-the-ai-button-on-the-top-menu-while-in-the-chat-section-it-does-not-show-the-editor/327324/7 "2024-09-20T10:27:34Z")

</div>

嗯，在我看来，这似乎是一个更广泛的问题。

当我在聊天中尝试打开作曲家时，也可以通过用户/群组卡片上的“消息”按钮打开，但它没有任何反应，并且会破坏当前布局：从此刻起，标题就会消失，并且我无法在不刷新页面的情况下导航回论坛。

---

<div class="post-metadata">

**Author:** ![kuaza](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuaza/32/264151_2.png) [@kuaza](https://meta.discourse.org/u/kuaza)\
**Post date:** [2024年九月20日 18:21 UTC](https://meta.discourse.org/t/when-you-click-on-the-ai-button-on-the-top-menu-while-in-the-chat-section-it-does-not-show-the-editor/327324/8 "2024-09-20T18:21:37Z")

</div>

如果聊天区域不使用AI作曲家功能，我认为隐藏聊天页面的AI图标是合乎逻辑的。

---

<div class="post-metadata">

**Author:** ![lindsey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lindsey/32/318210_2.png) [@lindsey](https://meta.discourse.org/u/lindsey)\
**Post date:** [2024年十一月6日 18:14 UTC](https://meta.discourse.org/t/when-you-click-on-the-ai-button-on-the-top-menu-while-in-the-chat-section-it-does-not-show-the-editor/327324/12 "2024-11-06T18:14:28Z")

</div>

感谢您的报告，@kuaza — 我已要求我们的团队修复此问题，以便用户在与 AI 机器人等功能以及用户卡片上的“消息”按钮交互时，可以从聊天导航到撰写器。

我目前没有此问题修复的预计完成时间，但一旦此工作完成或有任何其他更新，我们将在本文档中进行跟进。

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2024年十一月7日 05:51 UTC](https://meta.discourse.org/t/when-you-click-on-the-ai-button-on-the-top-menu-while-in-the-chat-section-it-does-not-show-the-editor/327324/13 "2024-11-07T05:51:39Z")

</div>

谢谢，我已推送修复程序：

> <https://github.com/discourse/discourse/pull/29633>
>
> This commit is a revert of https://github.com/discourse/discourse/commit/c91bd3c…a07ebcb99a379861f9f17f948cc8ab491

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2024年十一月10日 05:52 UTC](https://meta.discourse.org/t/when-you-click-on-the-ai-button-on-the-top-menu-while-in-the-chat-section-it-does-not-show-the-editor/327324/15 "2024-11-10T05:52:10Z")

</div>

此主题在最后回复后 3 天自动关闭。不再允许新回复。
