mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
ecb42a3680
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.
14 lines
559 B
Handlebars
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> |