0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-10-19 04:02:39 +02:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/custom-wizard-field-composer.hbs

23 Zeilen
Kein EOL
611 B
Handlebars

<CustomWizardComposerEditor
@field={{this.field}}
@composer={{this.composer}}
@wizard={{this.wizard}}
@fieldClass={{this.fieldClass}}
@groupsMentioned={{this.groupsMentioned}}
@cannotSeeMention={{this.cannotSeeMention}}
@importQuote={{this.importQuote}}
@togglePreview={{this.togglePreview}}
@afterRefresh={{this.afterRefresh}}
/>
<div class="bottom-bar">
<DButton
@action={{this.togglePreview}}
class="wizard-btn toggle-preview"
@label={{togglePreviewLabel}}
/>
{{#if this.field.char_counter}}
{{wizard-char-counter this.field.value field.max_length}}
{{/if}}
</div>