1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/templates/components/custom-wizard-composer-editor.hbs
2022-08-22 15:56:58 +02:00

25 Zeilen
668 B
Handlebars

{{d-editor
tabindex=field.tabindex
value=composer.reply
placeholderOverride=replyPlaceholder
previewUpdated=(action "previewUpdated")
markdownOptions=markdownOptions
extraButtons=(action "extraButtons")
importQuote=(action "importQuote")
showUploadModal=(action "showUploadModal")
togglePreview=(action "togglePreview")
validation=validation
loading=composer.loading
showLink=showLink
wizardComposer=true
fieldId=field.id
disabled=disableTextarea
outletArgs=(hash composer=composer editorType="composer")}}
<input
type="file"
id={{fileUploadElementId}}
class="wizard-composer-upload"
accept={{allowedFileTypes}}
multiple
>