0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 02:30:28 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/custom-wizard-field-composer.hbs

25 Zeilen
628 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")
2023-07-10 08:55:54 +02:00
afterRefresh=(action "afterRefresh")
}}
2019-11-20 13:08:04 +01:00
<div class="bottom-bar">
2023-07-10 08:55:54 +02:00
<button
class="wizard-btn toggle-preview"
{{action "togglePreview"}}
type="button"
>
<span class="d-button-label">{{i18n togglePreviewLabel}}</span>
2021-04-12 16:19:53 +02:00
</button>
2021-04-12 16:19:53 +02:00
{{#if field.char_counter}}
{{wizard-char-counter field.value field.max_length}}
2021-04-12 16:19:53 +02:00
{{/if}}
2023-07-10 08:55:54 +02:00
</div>