mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -06:00
DEV: Add quote-share-buttons-before plugin outlet (#24358)
This is so additional buttons can be rendered inbetween the quote/edit buttons and the share buttons for post quotes
This commit is contained in:
parent
d128dc0e61
commit
a238f66b33
@ -212,6 +212,12 @@ export default class PostTextSelectionToolbar extends Component {
|
|||||||
/>
|
/>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
<PluginOutlet
|
||||||
|
@name="quote-share-buttons-before"
|
||||||
|
@connectorTagName="span"
|
||||||
|
@outletArgs={{hash data=@data}}
|
||||||
|
/>
|
||||||
|
|
||||||
{{#if this.quoteSharingEnabled}}
|
{{#if this.quoteSharingEnabled}}
|
||||||
<span class="quote-sharing">
|
<span class="quote-sharing">
|
||||||
{{#if this.quoteSharingShowLabel}}
|
{{#if this.quoteSharingShowLabel}}
|
||||||
|
Loading…
Reference in New Issue
Block a user