# 如何获得这个文本编辑器功能

**URL:** https://meta.discourse.org/t/how-to-get-this-text-editor-feature/351319
**Category:** Support
**Created:** [2025年二月9日 11:02 UTC](https://meta.discourse.org/t/how-to-get-this-text-editor-feature/351319 "2025-02-09T11:02:51Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![LaptechInfo](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@LaptechInfo](https://meta.discourse.org/u/LaptechInfo)
#### Post date: [2025年二月9日 11:02 UTC](https://meta.discourse.org/t/how-to-get-this-text-editor-feature/351319/1 "2025-02-09T11:02:51Z")

</div>

您好，要在我的论坛上实现这一点，即当我点击新主题时，文本编辑器会打开，在其右上角，这个图标（见下图箭头所指），我们可以将其向右移动并居中对准输入文本框。如何实现这一点，它叫什么？

 ![论坛主题预览主题组件窗口截图，右上角有一个可拖动的图标](https://global.discourse-cdn.com/meta/original/4X/c/c/4/cc43b9f71cbe12b3b2d8a80e5e59268c64f75edc.png)

谢谢

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2025年二月9日 11:04 UTC](https://meta.discourse.org/t/how-to-get-this-text-editor-feature/351319/2 "2025-02-09T11:04:57Z")

</div>

我认为那是 [GitHub - discourse/composer-peek: A peek-mode for composer on sites using the full screen theme component.](https://github.com/discourse/composer-peek)

---

<div class="post-metadata">

### Author: ![LaptechInfo](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@LaptechInfo](https://meta.discourse.org/u/LaptechInfo)
#### Post date: [2025年二月9日 11:07 UTC](https://meta.discourse.org/t/how-to-get-this-text-editor-feature/351319/3 "2025-02-09T11:07:06Z")

</div>

让我安装并检查

---

<div class="post-metadata">

### Author: ![LaptechInfo](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@LaptechInfo](https://meta.discourse.org/u/LaptechInfo)
#### Post date: [2025年二月9日 11:15 UTC](https://meta.discourse.org/t/how-to-get-this-text-editor-feature/351319/4 "2025-02-09T11:15:51Z")

</div>

@Moin  
我已经安装了该组件并添加了所有主题，但它没有出现在作曲家/或文本编辑器中

 ![该图片显示了 Chrome 网上应用店中一个名为“peak-mode-composer”的黑色主题页面，作者是 Discourse，版本为 0.0.1。（由 AI 题注）](https://global.discourse-cdn.com/meta/original/4X/e/6/0/e60bd8aedccac2f9cfe5d1d6bcfaa13240ff243e.png)

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2025年二月9日 11:40 UTC](https://meta.discourse.org/t/how-to-get-this-text-editor-feature/351319/5 "2025-02-09T11:40:42Z")

</div>

对我来说，它运行正常。也许你忽略了使用[全角组件](https://meta.discourse.org/t/discourse-full-width-component/292496?u=moin)的必要性。

---

<div class="post-metadata">

### Author: ![LaptechInfo](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@LaptechInfo](https://meta.discourse.org/u/LaptechInfo)
#### Post date: [2025年二月9日 12:41 UTC](https://meta.discourse.org/t/how-to-get-this-text-editor-feature/351319/6 "2025-02-09T12:41:14Z")

</div>

是的。你说得对。现在它能用了。安装了全宽组件后 😍

---

<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: [2025年三月11日 12:41 UTC](https://meta.discourse.org/t/how-to-get-this-text-editor-feature/351319/7 "2025-03-11T12:41:21Z")

</div>

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