0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-14 05:52:52 +01:00
discourse-custom-wizard/assets/javascripts/wizard/templates/components/wizard-field-composer.hbs
2021-10-14 18:27:38 +05:30

19 Zeilen
582 B
Handlebars

{{wizard-composer-editor
field=field
composer=composer
wizard=wizard
groupsMentioned=(action "groupsMentioned")
cannotSeeMention=(action "cannotSeeMention")
importQuote=(action "importQuote")
togglePreview=(action "togglePreview")
afterRefresh=(action "afterRefresh")}}
<div class="bottom-bar">
<button class="wizard-btn toggle-preview" {{action "togglePreview"}} type="button">
<span class="d-button-label">{{wizard-i18n togglePreviewLabel}}</span>
</button>
{{#if field.char_counter}}
{{char-counter field.value field.max_length}}
{{/if}}
</div>