mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
07e18dac86
closes #2991, references #2172, references #2453 - moved and separated tags logic from EditorTagsView into PostTagsInputController/View - call out to PostTagsInputController when saving post to ensure an incomplete tag is completed before save - added Tab key support for suggestion selection / tag completion - don't show suggestions list when input field doesn't have focus - added code for #2172 but left commented-out as it causes side effects with completion on save - updated suggestion highlighting so it doesn't bork on html/regex chars (#2453)
20 lines
736 B
Handlebars
20 lines
736 B
Handlebars
<footer id="publish-bar">
|
|
<nav>
|
|
{{render 'post-tags-input'}}
|
|
|
|
<div class="right">
|
|
|
|
<section id="entry-controls" {{bind-attr class="isNew:unsaved"}}>
|
|
{{#gh-popover-button popoverName="post-settings-menu" tagName="a" href="#" classNames="post-settings" title="Post Settings"}}
|
|
<span class="hidden">Post Settings</span>
|
|
{{/gh-popover-button}}
|
|
{{#gh-popover name="post-settings-menu" classNames="post-settings-menu menu-right"}}
|
|
{{render "post-settings-menu" model}}
|
|
{{/gh-popover}}
|
|
</section>
|
|
|
|
{{view "editor-save-button" id="entry-actions"}}
|
|
</div>
|
|
</nav>
|
|
</footer>
|