In my previous post, I mentioned that I used JavaScript to achieve this, but the loading wasn’t smooth. Based on a suggestion, I tried using a form template, but that only allows customizing the composer’s body. My goal is to customize the entire composer, not just the body. Is it possible to achieve this using a component instead of the proposed plugin approach?
2 Likes
For custom fields per tag, you probably want to store/structure data in the database, and this will require a plugin.
You can work around that limitation and use a theme component if you only need to format the post content itself (like adding consistent sections or templates), but this data would live in the post body as normal text, so it’s pretty limited if you want to query it or structure it for use in other parts of Discourse.
3 Likes
Thanks for your response. Yes, I want to modify the composer based on the tag and add custom fields accordingly. Based on your suggestion, I’ll check if there’s any plugin available for this and explore possible workarounds.