Ghost/ghost/admin/app/components/announcement-settings/content.hbs
Peter Zimon 5f266a11db Fixed text selection for announcement bar
no issue.

- In dark mode the text and the text selection color in the announcement bar's input field were the same. This made the selected text unreadable
2023-04-26 22:33:13 +02:00

15 lines
595 B
Handlebars

<div class="gh-stack-item gh-setting-first">
<div class="flex-grow-1">
<label class="gh-setting-title gh-theme-setting-title" for={{this.selectId}}>
Announcement
</label>
<div class="gh-announcement-editor {{if this.feature.nightShift "dark"}}">
<KoenigLexicalEditorInput
@placeholderText="Highlight breaking news, special offers, or important updates"
@html={{this.content}}
@onChangeHtml={{this.setContent}}
@onBlur={{@onChange}}
/>
</div>
</div>
</div>