2019-11-20 13:08:04 +01:00
|
|
|
{{d-editor
|
|
|
|
tabindex="4"
|
|
|
|
value=composer.reply
|
|
|
|
placeholder=replyPlaceholder
|
|
|
|
previewUpdated=(action "previewUpdated")
|
|
|
|
markdownOptions=markdownOptions
|
|
|
|
extraButtons=(action "extraButtons")
|
|
|
|
importQuote=(action "importQuote")
|
|
|
|
showUploadModal=showUploadModal
|
|
|
|
togglePreview=(action "togglePreview")
|
|
|
|
validation=validation
|
|
|
|
loading=composer.loading
|
|
|
|
showLink=showLink
|
|
|
|
composerEvents=true
|
|
|
|
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"
|
|
|
|
disabled=uploading
|
|
|
|
type="file"
|
|
|
|
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">
|
|
|
|
{{loading-spinner size="small"}}<span>{{i18n "upload_selector.uploading"}} {{uploadProgress}}%</span>
|
|
|
|
{{#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}}
|