Ghost/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-link-input.hbs

14 lines
441 B
Handlebars
Raw Normal View History

<input
placeholder="Enter url"
value={{href}}
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"
oninput={{action (mut href) value="target.value"}}
onkeydown={{action "inputKeydown"}}
/>
{{#if href}}
<button class="kg-input-bar-close" type="button" {{action "clear"}}>
{{svg-jar "close" class="ih2 stroke-midlightgrey-l2"}}
</button>
{{/if}}