Add extensibility point for d-editor
This commit is contained in:
parent
c2c0a81a4f
commit
a109397035
|
@ -1,4 +1,5 @@
|
||||||
{{d-editor tabindex="4"
|
{{d-editor
|
||||||
|
tabindex="4"
|
||||||
value=composer.reply
|
value=composer.reply
|
||||||
placeholder="composer.reply_placeholder"
|
placeholder="composer.reply_placeholder"
|
||||||
previewUpdated="previewUpdated"
|
previewUpdated="previewUpdated"
|
||||||
|
@ -13,8 +14,9 @@
|
||||||
composerEvents=true
|
composerEvents=true
|
||||||
onExpandPopupMenuOptions="onExpandPopupMenuOptions"
|
onExpandPopupMenuOptions="onExpandPopupMenuOptions"
|
||||||
onPopupMenuAction=onPopupMenuAction
|
onPopupMenuAction=onPopupMenuAction
|
||||||
popupMenuOptions=popupMenuOptions}}
|
popupMenuOptions=popupMenuOptions
|
||||||
|
outletArgs=(hash composer=composer editorType="composer")}}
|
||||||
|
|
||||||
{{#if site.mobileView}}
|
{{#if site.mobileView}}
|
||||||
<input type="file" id="mobile-uploader" multiple />
|
<input type="file" id="mobile-uploader" multiple>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
{{conditional-loading-spinner condition=loading}}
|
{{conditional-loading-spinner condition=loading}}
|
||||||
{{textarea tabindex=tabindex value=value class="d-editor-input" placeholder=placeholderTranslated}}
|
{{textarea tabindex=tabindex value=value class="d-editor-input" placeholder=placeholderTranslated}}
|
||||||
{{popup-input-tip validation=validation}}
|
{{popup-input-tip validation=validation}}
|
||||||
|
{{plugin-outlet name="after-d-editor" tagName="" args=outletArgs}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="d-editor-preview-wrapper {{if forcePreview 'force-preview'}}">
|
<div class="d-editor-preview-wrapper {{if forcePreview 'force-preview'}}">
|
||||||
|
|
Loading…
Reference in New Issue