Ghost/ghost/admin/lib/koenig-editor/addon/components/koenig-snippet-input.hbs
Kevin Ansfield 7e169a2a86 Renamed snippet.title to snippet.name for consistency
no issue

- all of our models which allow users to name something use `name` as the field descriptor rather than `title` so `snippet.title` was renamed for consistency
- also fixes typo in the plus-menu component that stopped clicking on snippets from working
2020-10-16 10:15:07 +01:00

10 lines
451 B
Handlebars

<div class="kg-input-bar absolute z-999" style={{this.style}} {{did-insert this.registerAndPositionElement}} ...attributes>
<input
placeholder="Snippet name"
value={{this.name}}
class="kg-link-input pa2 pr6 mih-100 ba br3 shadow-2 f8 lh-heading tracked-2 outline-0 b--blue h10 nudge-top--8"
{{on "input" this.nameInput}}
{{on "keydown" this.nameKeydown}}
{{did-insert this.focusInput}}
/>
</div>