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

23 Zeilen
Kein EOL
621 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={{this.togglePreviewLabel}}
/>
{{#if this.field.char_counter}}
{{wizard-char-counter this.field.value this.field.max_length}}
{{/if}}
</div>