DEV: Add outlet args to `editor-preview` outlet (#8835)
Those are the same arguments that are passed into `after-d-editor` outlet. This will enable plugins that attach to editor preview to be conditionally enabled, usually only for the composer. Plugins that will use this: discourse-canned-responses, discourse-zoom.
This commit is contained in:
parent
e4f3244141
commit
9a52a44d09
|
@ -47,7 +47,7 @@
|
|||
|
||||
<div class="d-editor-preview-wrapper {{if forcePreview 'force-preview'}}">
|
||||
<div class="d-editor-preview">{{{preview}}}</div>
|
||||
{{plugin-outlet name="editor-preview" classNames="d-editor-plugin"}}
|
||||
{{plugin-outlet name="editor-preview" classNames="d-editor-plugin" args=outletArgs}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue