0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-27 03:20:27 +01:00
discourse-custom-wizard/assets/javascripts/wizard/templates/components/wizard-composer-editor.hbs
2021-12-01 15:19:14 +08:00

25 Zeilen
676 B
Handlebars

{{d-editor
tabindex=field.tabindex
value=composer.reply
placeholderTranslated=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
wizardComposerEvents=true
fieldId=field.id
disabled=disableTextarea
outletArgs=(hash composer=composer editorType="composer")}}
<input
type="file"
id={{fileUploadElementId}}
class="wizard-composer-upload"
accept={{allowedFileTypes}}
multiple
>