1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/wizard/templates/components/wizard-field-composer.hbs
2021-01-19 12:21:37 +05:30

18 Zeilen
540 B
Handlebars

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