# Reply Template

**URL:** https://meta.discourse.org/t/reply-template/162373
**Category:** Theme component
**Tags:** official, reply-template
**Created:** [August 28, 2020, 6:23pm UTC](https://meta.discourse.org/t/reply-template/162373 "2020-08-28T18:23:36Z")
**Posts on this page:** 19
**Page:** 3

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [February 20, 2025, 11:47am UTC](https://meta.discourse.org/t/reply-template/162373/57 "2025-02-20T11:47:31Z")

</div>

The [**Reply Template**](https://meta.discourse.org/t/reply-template/162373) is a theme component and not connected to a [topic template](https://meta.discourse.org/t/using-topic-templates-for-categories/38295).

My suggested plugin would work in conjunction with reply templates.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [February 20, 2025, 12:10pm UTC](https://meta.discourse.org/t/reply-template/162373/58 "2025-02-20T12:10:05Z")

</div>

Yep, got that. I was clarifying on the plugin. Basically, it places the desired reply template in the topic post of all topics in a specific category which has the Journal plugin enabled?

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [February 20, 2025, 12:16pm UTC](https://meta.discourse.org/t/reply-template/162373/59 "2025-02-20T12:16:20Z")

</div>

It would be triggered independently of the journal plugin.

Here is my quick and dirty spec sheet:

- Plugin settings:
  - checkbox: enable “Force reply template” plugin
  - tag picker: enable “Force reply template” for topics with this tag

- Category settings:
  - checkbox: enable Force reply template in category

- Condition:
  - If the above conditions are met AND if a reply template is found in first post, THEN enable fill the reply template into the composer after users hits the Reply button
  - Condition does not apply to reply buttons in individual posts

---

<div class="post-metadata">

### Author: ![agligorijevic](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/agligorijevic/32/261407_2.png) [@agligorijevic](https://meta.discourse.org/u/agligorijevic)
#### Post date: [March 11, 2025, 1:11pm UTC](https://meta.discourse.org/t/reply-template/162373/60 "2025-03-11T13:11:38Z")

</div>

When I click the button when not logged in:

 ![The image shows a Slack dialog with an error message about an outdated login model that needs updating to work with the latest version of Discord. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/e/e/0/ee00088f79ef928ca15266880141bb5be6dff1c7.jpeg)

You can test yourself here:

> **[PvP Turnir 1v1 16 Slotova](https://forum.serb-craft.com/t/pvp-turnir-1v1-16-slotova/90354)**
>
> Event Tim organizuje događaj na SERB-CRAFT-u! ✸ Turnir će se održati Danas u 22:15. \*\*✸ Turnir će biti hostovan na Event Serveru. ✸ Za turnir AntiCheat je obavezan! ✸ Ukoliko vam ne odgovara vreme eventa, nemojte se prijavljivati! ✸ Strogo...

What can be the problem?

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [March 11, 2025, 1:12pm UTC](https://meta.discourse.org/t/reply-template/162373/61 "2025-03-11T13:12:43Z")

</div>

@agligorijevic Are you on the latest version of Discourse, and of the Theme Component?

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [March 11, 2025, 2:25pm UTC](https://meta.discourse.org/t/reply-template/162373/62 "2025-03-11T14:25:33Z")

</div>

The component needs an update. I will make a PR.

* * *

[https://github.com/discourse/discourse-reply-template-component/pull/44](https://github.com/discourse/discourse-reply-template-component/pull/44)

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [June 7, 2025, 2:52pm UTC](https://meta.discourse.org/t/reply-template/162373/63 "2025-06-07T14:52:00Z")

</div>

There is a method to use the reply templates automatically (on specific categories)?

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [June 7, 2025, 5:57pm UTC](https://meta.discourse.org/t/reply-template/162373/64 "2025-06-07T17:57:28Z")

</div>

AFAIK there isn’t. There are only category templates in core.

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [June 7, 2025, 7:55pm UTC](https://meta.discourse.org/t/reply-template/162373/65 "2025-06-07T19:55:54Z")

</div>

I think that this TC does what you are looking for:

> [@Topic Template Placeholder Text theme component](https://meta.discourse.org/t/topic-template-placeholder-text-theme-component/149053):
>
> Topic Template Placeholder Text theme component This theme component enables you to display Topic Templates as placeholders (watermarks) instead of as editable template text. This allows you to provide custom instructions as a placeholder for each topic. For example: This is the normal placeholder (watermark) text. NB You can already change this site-wide by changing the custom text Go to Admin \>\> Customise \>\> Text Then search for the text that you see there on the screen. A se…

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [June 8, 2025, 7:30pm UTC](https://meta.discourse.org/t/reply-template/162373/66 "2025-06-08T19:30:39Z")

</div>

Thanks Nat, from what I understand (please correct me if I’m wrong) the propose for this plugin is to change the Placeholder text on topics and -not expected- the text still remains in the textbox.

I tried it, and it’s currently not working. If it’s updated, it could work as a workaround, for sure!

---

<div class="post-metadata">

### Author: ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)
#### Post date: [August 30, 2025, 11:21pm UTC](https://meta.discourse.org/t/reply-template/162373/67 "2025-08-30T23:21:03Z")

</div>

I believe this component is somewhat broken with the new composer since [wrap] is no longer supported, you get this error if you edit a topic that has used this: `Token type ‘wrap_open’ not supported by Markdown parser`

Is there any solution to this for existing topics? Our users often edit topics and this is really going to confuse them. I know you can just go to the Markdown view, but overcoming this is going to be a challenge.

Will this be updated to work with the new composer?

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [August 31, 2025, 12:04am UTC](https://meta.discourse.org/t/reply-template/162373/68 "2025-08-31T00:04:01Z")

</div>

We’re planning to add support for `[wrap]` tokens in the rich text editor, but it will take us some time to implement this properly. At the moment, we don’t have an ETA. Please also keep in mind that the annual Discourse meetup is coming up soon, so many team members will be away, meaning work on this feature will be paused or slowed down over the next few weeks.

Until then, the best option is to switch back to the markdown composer.

---

<div class="post-metadata">

### Author: ![exetico](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/exetico/32/119962_2.png) [@exetico](https://meta.discourse.org/u/exetico)
#### Post date: [August 31, 2025, 10:53am UTC](https://meta.discourse.org/t/reply-template/162373/69 "2025-08-31T10:53:28Z")

</div>

Wouldn’t it be quite easy to implement this? Maybe not in a 100% secure way, but more like a 80% solution, where the user does get the template filled in, as the user pressing “reply”?

Or will that requires a backend plugin, which does provide the templates as extra context, if the user opened up the topic, and only have pot 40-45 in the viewpoint, resulting in the client haven’t and context about the “almost forced template” for the topic? 🙂

I’m asking here, as I’m not that familiar with the component structure, but it should be a great addition, as mentioned before.

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [October 20, 2025, 1:58pm UTC](https://meta.discourse.org/t/reply-template/162373/70 "2025-10-20T13:58:40Z")

</div>

Hey guys

The issue seems to persists when I try to use insert a template into the new composer. I get error message in a modal: Token type `wrap_open` not supported by Markdown parser.  
tested on 3.6.0beta1

browser console log:

```log
prosemirror-editor.gjs:245 Uncaught Error: Token type `wrap_open` not supported by Markdown parser
    at s.parseTokens (index.js:190:23)
    at d.parse (index.js:331:15)
    at em.convert (parser.js:43:19)
    at eI.convertFromMarkdown (prosemirror-editor.gjs:242:26)
    at q._join (index.js:788:21)
    at q.join (index.js:605:17)
    at p (index.js:152:22)
    at eC.convertFromMarkdown (index.js:250:23)
    at eC.insertBlock (text-manipulation.js:170:22)
    at q (cache-fCezwMOy.js:471:12)
    at r.trigger (evented.js:68:5)
    at #h (d-templates.js:101:1)
    at v.insertTemplate (filterable-list.js:115:1)
    at c.apply (item.js:11:1)
    at d-button.gjs:138:19
    at invoke (index.js:264:14)
    at m.flush (index.js:180:11)
    at g.flush (index.js:334:19)
    at q._end (index.js:762:32)
    at q.end (index.js:565:10)
    at q._runExpiredTimers (index.js:869:12)
parseTokens @ index.js:190
parse @ index.js:331
convert @ parser.js:43
convertFromMarkdown @ prosemirror-editor.gjs:242
_join @ index.js:788
join @ index.js:605
p @ index.js:152
(anonymous) @ index.js:250
insertBlock @ text-manipulation.js:170
q @ cache-fCezwMOy.js:471
trigger @ evented.js:68
#h @ d-templates.js:101
insertTemplate @ filterable-list.js:115
apply @ item.js:11
(anonymous) @ d-button.gjs:138
invoke @ index.js:264
flush @ index.js:180
flush @ index.js:334
_end @ index.js:762
end @ index.js:565
_runExpiredTimers @ index.js:869
setTimeout
setTimeout @ index.js:39
_installTimerTimeout @ index.js:912
_reinstallTimerTimeout @ index.js:896
_later @ index.js:829
later @ index.js:652
T @ index.js:562
_triggerAction @ d-button.gjs:135
click @ d-button.gjs:93

```

---

<div class="post-metadata">

### Author: ![putty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/putty/32/370902_2.png) [@putty](https://meta.discourse.org/u/putty)
#### Post date: [October 20, 2025, 2:09pm UTC](https://meta.discourse.org/t/reply-template/162373/71 "2025-10-20T14:09:03Z")

</div>

Unfortunately this is [a known bug/feature request](https://meta.discourse.org/t/wrap-token-issue-in-rich-text-editor-in-3-5-0-revisited-what-should-i-do-instead/379830) when using wraps in the new composer.

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [November 1, 2025, 11:55am UTC](https://meta.discourse.org/t/reply-template/162373/72 "2025-11-01T11:55:43Z")

</div>

Is there any way to modify the **Token type `wrap_open` not supported by Markdown parser** message text? Our users are confused,sSo we would like to change the text to make it more clear that they have to switch to the classic markdown editor to use any `[wrap]` bbcode

---

<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: [November 1, 2025, 2:20pm UTC](https://meta.discourse.org/t/reply-template/162373/73 "2025-11-01T14:20:46Z")

</div>

@jrgong You just need to update your instance, we’ve since changed that message \[1\] and it’s now automatically reverted back to the Markdown mode if any unsupported feature is seen in Rich mode.

* * *

1. “The rich text editor doesn’t support all features used in this post; switching you to the Markdown editor.”

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [November 2, 2025, 9:55am UTC](https://meta.discourse.org/t/reply-template/162373/74 "2025-11-02T09:55:49Z")

</div>

Thx, I just tested it on beta2 successfully. But while testing, I found another related bug while testing:

> [@Using template with a \[wrap\] code while in Rich Text Editor not working](https://meta.discourse.org/t/bug-using-topic-template-with-a-wrap-code-while-in-rich-text-editor/387388):
>
> Hey guys Happens when I try and use a template via [Discourse Templates](https://meta.discourse.org/t/discourse-templates/229250) plugin and the template body has a wrap bbcode element, it’s not inserted and the rich text editor not switching to markdown. Tested with beta2 on Chrome Browser. To repro: Open composer, Make sure you are in rich text mode. Open template plugin via plus Icon in composer Find a template that was [wrap] bbcode in the body Click the clipboard Paste button for the template Expected behavior would be for the editor to sw…

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [January 22, 2026, 12:23am UTC](https://meta.discourse.org/t/reply-template/162373/75 "2026-01-22T00:23:53Z")

</div>

2 posts were split to a new topic: [Setting the order of templates in the dropdown](https://meta.discourse.org/t/setting-the-order-of-templates-in-the-dropdown/394040)

[Previous page](https://meta.discourse.org/t/reply-template/162373.md?page=2)
