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

28 Zeilen
881 B
Handlebars

<div class={{this.fieldClass}}>
<DEditor
2024-11-22 16:45:50 +01:00
@tabindex={{this.field.tabindex}}
@value={{this.composer.reply}}
@placeholderOverride={{this.replyPlaceholder}}
@previewUpdated={{this.previewUpdated}}
2024-11-22 16:45:50 +01:00
@markdownOptions={{this.markdownOptions}}
@extraButtons={{this.extraButtons}}
@importQuote={{this.importQuote}}
@showUploadModal={{this.showUploadModal}}
@togglePreview={{this.togglePreview}}
2024-11-22 16:45:50 +01:00
@validation={{this.validation}}
@loading={{this.composer.loading}}
@showLink={{this.showLink}}
@wizardComposer={{true}}
2024-11-22 16:45:50 +01:00
@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>