1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/templates/components/custom-wizard-field-composer.hbs
2023-04-03 11:04:28 +10:00

20 Zeilen
613 B
Handlebars

{{custom-wizard-composer-editor
field=field
composer=composer
wizard=wizard
fieldClass=fieldClass
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">{{i18n togglePreviewLabel}}</span>
</button>
{{#if field.char_counter}}
{{wizard-char-counter field.value field.max_length}}
{{/if}}
</div>