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