Skip to content

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

DEV: Add quote-share-buttons-before plugin outlet (#24358)

Martin Brennana238f66b3325
diff --git a/app/assets/javascripts/discourse/app/components/post-text-selection-toolbar.gjs b/app/assets/javascripts/discourse/app/components/post-text-selection-toolbar.gjs
index 2734ea4c3d4..e0e0c56bc91 100644
--- a/app/assets/javascripts/discourse/app/components/post-text-selection-toolbar.gjs
+++ b/app/assets/javascripts/discourse/app/components/post-text-selection-toolbar.gjs
@@ -212,6 +212,12 @@ export default class PostTextSelectionToolbar extends Component {
/>
{{/if}}
+ <PluginOutlet
+ @name="quote-share-buttons-before"
+ @connectorTagName="span"
+ @outletArgs={{hash data=@data}}
+ />
+
{{#if this.quoteSharingEnabled}}
<span class="quote-sharing">
{{#if this.quoteSharingShowLabel}}