0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-10 12:22:54 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/wizard-text-editor.hbs
Angus McLeod 61ad74e07b Revert "Update action usage"
This reverts commit 37685ea8cf.
2022-04-04 12:14:00 +02:00

41 Zeilen
968 B
Handlebars

{{d-editor
value=value
forcePreview=forcePreview
placeholder=placeholder}}
<div class="wizard-editor-gutter">
{{#if previewEnabled}}
{{d-button
action="togglePreview"
translatedLabel=previewLabel}}
{{/if}}
{{#if fieldsEnabled}}
{{d-button
action="togglePopover"
translatedLabel=popoverLabel}}
{{#if showPopover}}
<div class="wizard-editor-gutter-popover">
<label>
{{i18n "admin.wizard.action.post_builder.user_properties"}}
{{userPropertyList}}
</label>
{{#if hasWizardFields}}
<label>
{{i18n "admin.wizard.action.post_builder.wizard_fields"}}
{{wizardFieldList}}
</label>
{{/if}}
{{#if hasWizardActions}}
<label>
{{i18n "admin.wizard.action.post_builder.wizard_actions"}}
{{wizardActionList}}
</label>
{{/if}}
</div>
{{/if}}
{{/if}}
</div>