0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-20 15:51:11 +02:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/wizard-text-editor.hbs

34 Zeilen
783 B
Handlebars

2020-03-29 09:49:33 +02:00
{{d-editor
value=value
2020-03-30 01:53:28 +02:00
forcePreview=forcePreview
placeholder=placeholder}}
2020-03-29 09:49:33 +02:00
<div class="wizard-editor-gutter">
2020-03-30 01:53:28 +02:00
{{#if previewEnabled}}
{{d-button
action="togglePreview"
translatedLabel=previewLabel}}
{{/if}}
2020-03-29 09:49:33 +02:00
{{#if fieldsEnabled}}
{{d-button
action="togglePopover"
translatedLabel=popoverLabel}}
{{#if showPopover}}
<div class="wizard-editor-gutter-popover">
<label>
{{i18n 'admin.wizard.action.post_builder.user_fields'}}
{{userFieldList}}
</label>
2020-04-14 07:46:06 +02:00
{{#if hasWizardFields}}
<label>
{{i18n 'admin.wizard.action.post_builder.wizard_fields'}}
{{wizardFieldList}}
</label>
{{/if}}
2020-03-29 09:49:33 +02:00
</div>
{{/if}}
{{/if}}
</div>