Custom composer - Issue with tag-chooser and d-editor

AI-generated summary

saish is facing two issues with a custom composer in Discourse. First, they want to use the built-in tag-chooser component to display specific tags from different tag groups, but are unsure how to configure it to show only the desired tags. They mentioned exploring the allowedTagGroup option but need clarification on its usage. Second, they have multiple d-editor instances in their composer that are interconnected, causing changes in one editor to affect the others. They seek guidance on separating these editors to function independently. saish reiterated their request for help, and Steve_John expressed appreciation for any input on the issue.

I have created a custom composer using connectors, and I am currently using an HTML <select> element to display some custom tags. The tags are being fetched from tag groups when the composer opens, but this causes a noticeable lag because the fetch takes time, leaving the composer unresponsive while it loads.

To improve this, I would like to use Discourse’s built-in tag-chooser component and render only the specific tags I need. My requirement involves three different types of tags, so I want to use three separate tag-chooser instances. However, I am not sure how to configure it to display only the tags I want. I looked into the allowedTagGroup option, but it seems to only provide tag group names, and I am unclear on how to use it effectively with the tag-chooser.

In addition, I have included multiple instances of d-editor in my composer (as required), but they appear to be interconnected, meaning changes in one editor affect the others. I would like to know how to properly separate them so each editor can function independently.

If anyone has suggestions or best practices for resolving these two issues, I would greatly appreciate your guidance.

Hi everyone, I’m still stuck on this issue and would really appreciate some guidance. Has anyone worked with multiple tag-chooser components or separated multiple d-editor instances in a custom composer? Even pointers or examples would help a lot. Thanks in advance!

Appreciate , if any one could provide input to this issue posted.