0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-24 10:20:28 +01:00
discourse-custom-wizard/assets/javascripts/discourse/components/custom-wizard-composer-editor.hbs
2024-11-22 16:45:50 +01:00

28 Zeilen
Kein EOL
881 B
Handlebars

<div class={{this.fieldClass}}>
<DEditor
@tabindex={{this.field.tabindex}}
@value={{this.composer.reply}}
@placeholderOverride={{this.replyPlaceholder}}
@previewUpdated={{this.previewUpdated}}
@markdownOptions={{this.markdownOptions}}
@extraButtons={{this.extraButtons}}
@importQuote={{this.importQuote}}
@showUploadModal={{this.showUploadModal}}
@togglePreview={{this.togglePreview}}
@validation={{this.validation}}
@loading={{this.composer.loading}}
@showLink={{this.showLink}}
@wizardComposer={{true}}
@fieldId={{this.field.id}}
@disabled={{this.disableTextarea}}
@outletArgs={{hash composer=this.composer editorType="composer"}}
/>
<input
type="file"
id={{this.uppyComposerUpload.fileUploadElementId}}
class="wizard-composer-upload"
accept={{this.allowedFileTypes}}
multiple
/>
</div>