2019-11-20 23:08:04 +11:00
|
|
|
{{d-editor
|
2021-01-19 18:50:37 +11:00
|
|
|
tabindex=field.tabindex
|
2019-11-20 23:08:04 +11:00
|
|
|
value=composer.reply
|
|
|
|
placeholder=replyPlaceholder
|
|
|
|
previewUpdated=(action "previewUpdated")
|
|
|
|
markdownOptions=markdownOptions
|
|
|
|
extraButtons=(action "extraButtons")
|
|
|
|
importQuote=(action "importQuote")
|
2020-10-02 14:40:10 +10:00
|
|
|
showUploadModal=(action "showUploadModal")
|
2019-11-20 23:08:04 +11:00
|
|
|
togglePreview=(action "togglePreview")
|
|
|
|
validation=validation
|
|
|
|
loading=composer.loading
|
|
|
|
showLink=showLink
|
2020-10-02 14:40:10 +10:00
|
|
|
wizardComposerEvents=true
|
2020-10-06 20:30:24 +11:00
|
|
|
fieldId=field.id
|
2019-11-20 23:08:04 +11:00
|
|
|
disabled=disableTextarea
|
2020-10-01 11:13:29 +05:30
|
|
|
outletArgs=(hash composer=composer editorType="composer")}}
|
|
|
|
|
2020-10-02 10:33:01 +10:00
|
|
|
{{input
|
|
|
|
class="wizard-composer-upload hidden-upload-field"
|
2020-10-02 14:40:10 +10:00
|
|
|
disabled=isUploading
|
2020-10-02 10:33:01 +10:00
|
|
|
type="file"
|
2020-10-06 20:30:24 +11:00
|
|
|
accept=allowedFileTypes
|
2020-10-02 10:33:01 +10:00
|
|
|
multiple=true}}
|
2020-10-01 19:18:20 +05:30
|
|
|
|
2020-10-02 10:33:01 +10:00
|
|
|
{{#if showHyperlinkBox}}
|
|
|
|
{{wizard-composer-hyperlink
|
2021-04-12 19:49:53 +05:30
|
|
|
addLink=(action "addLink")
|
|
|
|
hideBox=(action "hideBox")}}
|
2020-10-02 10:33:01 +10:00
|
|
|
{{/if}}
|
|
|
|
|
2020-10-02 10:33:17 +10:00
|
|
|
{{#if isUploading}}
|
2020-10-02 10:33:01 +10:00
|
|
|
<div id="file-uploading">
|
2020-11-26 16:45:30 +11:00
|
|
|
{{loading-spinner size="small"}}<span>{{wizard-i18n "upload_selector.uploading"}} {{uploadProgress}}%</span>
|
2020-10-02 10:33:01 +10:00
|
|
|
{{#if isCancellable}}
|
|
|
|
<a href id="cancel-file-upload" {{action "cancelUpload"}}>{{d-icon "times"}}</a>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2020-10-02 10:33:17 +10:00
|
|
|
{{/if}}
|