Skip to content

A platform for community discussion. Free, open, simple.

DEV: Add plugin outlets for after category/tag inputs in composer (#23363)

Keegan Georged7d3bc758e5a
diff --git a/app/assets/javascripts/discourse/app/components/composer-container.hbs b/app/assets/javascripts/discourse/app/components/composer-container.hbs
index a42bb99b3f1..0d4cedce1fc 100644
--- a/app/assets/javascripts/discourse/app/components/composer-container.hbs
+++ b/app/assets/javascripts/discourse/app/components/composer-container.hbs
@@ -180,6 +180,10 @@
prioritizedCategoryId=this.composer.prioritizedCategoryId
}}
/>
+ <PluginOutlet
+ @name="after-composer-category-input"
+ @outletArgs={{hash composer=this.composer.model}}
+ />
<PopupInputTip
@validation={{this.composer.categoryValidation}}
/>
@@ -196,6 +200,10 @@
minimum=this.composer.model.minimumRequiredTags
}}
/>
+ <PluginOutlet
+ @name="after-composer-tag-input"
+ @outletArgs={{hash composer=this.composer.model}}
+ />
<PopupInputTip
@validation={{this.composer.tagValidation}}
/>