Ghost/ghost/admin/app/components/announcement-settings/content.hbs
Elena Baidakova ecb42a3680
Wired announcement api to admin ui (#16678)
refs TryGhost/Team#3052


<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 7173288</samp>

This pull request adds new components and settings for the announcement
bar feature, which allows the user to customize the content, background,
and visibility of a banner that appears on the site.
2023-04-19 19:45:34 +04:00

14 lines
559 B
Handlebars

<div class="gh-stack-item {{if (eq @index 0) "gh-setting-first" "gh-setting"}}">
<div class="flex-grow-1">
<label class="gh-setting-title gh-theme-setting-title" for={{this.selectId}}>
Announcement
</label>
<div class="gh-announcement-editor">
<KoenigLexicalEditorInput
@placeholderText="Breaking news, a big story, a special offer, or any other message"
@html={{this.content}}
@onChangeHtml={{this.setContent}}
/>
</div>
</div>
</div>