0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Added a label to the announcement setting

refs https://github.com/TryGhost/Team/issues/3026
This commit is contained in:
Sodbileg Gansukh 2023-04-18 11:55:36 +01:00
parent 75e6ce261c
commit 0f86514ae1

View file

@ -1,9 +1,14 @@
<div class="gh-stack-item {{if (eq @index 0) "gh-setting-first" "gh-setting"}}">
<div class="gh-announcement-editor">
<KoenigLexicalEditorInput
@placeholderText="Enter text"
@html={{'<p><span>check</span> <a href="https://ghost.org/changelog/markdown/" dir="ltr"><span data-lexical-text="true">ghost.org/changelog/markdown/</span></a></p>'}}
@onChangeHtml={{this.onChangeHtml}}
/>
<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="Enter text"
@html={{'<p><span>check</span> <a href="https://ghost.org/changelog/markdown/" dir="ltr"><span data-lexical-text="true">ghost.org/changelog/markdown/</span></a></p>'}}
@onChangeHtml={{this.onChangeHtml}}
/>
</div>
</div>
</div>