0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-30 12:31:10 +01:00
discourse-custom-wizard/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
>