Let’s say I want to use the user field prompt component in the PM I send to users as a welcome message to ask them for further information. How do I enter this in the text field the automation plugin offers? My problem is that I can’t switch to the markdown editor in the interface, so my wrap is always escaped.
We recently added support for [wrap] in the rich text editor
but I’m not sure if it’s just available in the “composer” or in any editor ![]()
@renato any ideas?
My forum is still on Commits · discourse/discourse · GitHub, so maybe I simply need to wait for an update.
Yes, I just tested and it should work there too (however I’m uncertain if forcing the rich editor in that area is intentional…).
Yes, very likely, please let us know if you find any issues after the update.
It is possible to use it after the update, but the only way to enter it that I found was to type it all myself. I cannot easily copy an example from meta, and since the menu isn’t available in the field where I type the message for the automation, I cannot use the wrap input help either.
But maybe I am just doing it wrong? I usually don’t use RTE, so maybe I don’t know the right trick. But I also struggled with the wrap input help in the markdown composer, so maybe the problem is me, not the software.
Can you expand about this, please?
The composer where you create messages sent by an automation doesn’t offer the menu, so there is no input help for wrap formatting.
In general, I am not good at remembering the right keys. So usually if I want to use wrap, for example, to add an icon like I just did above, I take a look at the topic on Meta (Discourse Icon), copy the example, paste it into my composer, and change the name of the icon. I also do that for Placeholder Forms, Reply Template, and User Field Prompt.
Pasting those examples into the RTE results in them being escaped, so they don’t work
So the only way I found to put, for example, a user field prompt into that field was to type it manually, while I prefer to start with the example from the topic as a template.
If the menu was available when creating an automation, there would be at least some support on how to create those. Having the theme components register templates you can select in that menu would be the icing on the cake. Currently, it seems easiest to copy an example.
You didn’t ask for details on that, but maybe you can still help. How do I use the wrap option in the plus menu while I am using the markdown editor to add the icon wrap? The syntax is [wrap=icon id=circle-plus][/wrap], so I thought I would do this:
That results in
[wrap =icon id=circle-plus]
Wrap content
[/wrap]
which doesn’t work. I don’t mean the placeholder for content. My problem is the space between wrap and =icon that breaks it.

