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-field-composer.hbs

23 Zeilen
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}}
/>
2019-11-20 13:08:04 +01:00
<div class="bottom-bar">
<DButton
@action={{this.togglePreview}}
2023-07-10 08:55:54 +02:00
class="wizard-btn toggle-preview"
2024-11-22 16:45:50 +01:00
@label={{this.togglePreviewLabel}}
/>
{{#if this.field.char_counter}}
2024-11-22 16:45:50 +01:00
{{wizard-char-counter this.field.value this.field.max_length}}
2021-04-12 16:19:53 +02:00
{{/if}}
2023-07-10 08:55:54 +02:00
</div>