0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2025-02-01 10:57:03 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/wizard-text-editor.hbs

42 Zeilen
968 B
Handlebars

2020-03-29 18:49:33 +11:00
{{d-editor
value=value
2020-03-30 10:53:28 +11:00
forcePreview=forcePreview
placeholder=placeholder}}
2020-03-29 18:49:33 +11:00
<div class="wizard-editor-gutter">
2020-03-30 10:53:28 +11:00
{{#if previewEnabled}}
{{d-button
action="togglePreview"
translatedLabel=previewLabel}}
{{/if}}
2021-04-12 19:49:53 +05:30
2020-03-29 18:49:33 +11:00
{{#if fieldsEnabled}}
{{d-button
action="togglePopover"
translatedLabel=popoverLabel}}
2021-04-12 19:49:53 +05:30
2020-03-29 18:49:33 +11:00
{{#if showPopover}}
<div class="wizard-editor-gutter-popover">
<label>
2021-04-12 19:49:53 +05:30
{{i18n "admin.wizard.action.post_builder.user_properties"}}
{{userPropertyList}}
2020-03-29 18:49:33 +11:00
</label>
2021-04-12 19:49:53 +05:30
2020-04-14 15:46:06 +10:00
{{#if hasWizardFields}}
<label>
2021-04-12 19:49:53 +05:30
{{i18n "admin.wizard.action.post_builder.wizard_fields"}}
2020-04-14 15:46:06 +10:00
{{wizardFieldList}}
</label>
{{/if}}
2021-04-12 19:49:53 +05:30
{{#if hasWizardActions}}
<label>
2021-04-12 19:49:53 +05:30
{{i18n "admin.wizard.action.post_builder.wizard_actions"}}
{{wizardActionList}}
</label>
{{/if}}
2020-03-29 18:49:33 +11:00
</div>
{{/if}}
{{/if}}
</div>