0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 11:00:28 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/custom-wizard-composer-editor.hbs

28 Zeilen
812 B
Handlebars

<div class={{this.fieldClass}}>
<DEditor
@tabindex={{field.tabindex}}
@value={{composer.reply}}
@placeholderOverride={{replyPlaceholder}}
@previewUpdated={{this.previewUpdated}}
@markdownOptions={{markdownOptions}}
@extraButtons={{this.extraButtons}}
@importQuote={{this.importQuote}}
@showUploadModal={{this.showUploadModal}}
@togglePreview={{this.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={{this.fileUploadElementId}}
class="wizard-composer-upload"
accept={{this.allowedFileTypes}}
multiple
/>
</div>