mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
9380209670
refs TryGhost/Team#3008 --- <!-- Leave the line below if you'd like GitHub Copilot to generate a summary from your commit --> <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at 2a60623</samp> This pull request adds a new experimental feature for displaying an announcement bar at the top of the site. It introduces a new component template and class for the announcement bar, a new feature flag and its UI controls, and some CSS adjustments for the editor input and the announcement bar.
9 lines
454 B
Handlebars
9 lines
454 B
Handlebars
<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>
|
|
</div> |