# Js.composer.reply\_placeholder 适用于新主题和回复

**URL:** https://meta.discourse.org/t/js-composer-reply-placeholder-applies-to-new-topics-as-well-as-replies/330963
**Category:** Bug
**Created:** [2024 年10 月 15 日 12:23 UTC](https://meta.discourse.org/t/js-composer-reply-placeholder-applies-to-new-topics-as-well-as-replies/330963 "2024-10-15T12:23:12Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### 作者： ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### 发布日期： [2024 年10 月 15 日 12:39 UTC](https://meta.discourse.org/t/js-composer-reply-placeholder-applies-to-new-topics-as-well-as-replies/330963/2 "2024-10-15T12:39:03Z")

</div>

也许这个主题中的代码能帮到你

> [@New Topic + Reply: Distinquish Ephemeral Text](https://meta.discourse.org/t/new-topic-reply-distinquish-ephemeral-text/205575/2?u=moin):
>
> Correct, the placeholder for both new topics and replies share the same translation key as you mentioned js.composer.reply\_placeholder As far as I know, there haven’t been any requests for separate keys so far. Still, you can customize this on your site for now. If you add the following to your theme in the common \> header tab, it should give you the desired result. \<script type="text/discourse-plugin" version="0.8"\> // options you can change const placeHolderForReplies = "CHANGE\_THIS\_TEXT\_B…

---

_[View the full topic](https://meta.discourse.org/t/js-composer-reply-placeholder-applies-to-new-topics-as-well-as-replies/330963)._
