mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
16 lines
420 B
Handlebars
16 lines
420 B
Handlebars
{{#if this.isEditorEnabled}}
|
|
<GhUploader
|
|
@onComplete={{this.onUploadComplete}}
|
|
as |uploader|
|
|
>
|
|
<button
|
|
type="button"
|
|
class="{{if @className @className "image-action image-edit"}}"
|
|
title="Edit image"
|
|
{{on "click" (fn this.handleClick uploader)}}
|
|
>
|
|
{{svg-jar "koenig/kg-edit"}}
|
|
</button>
|
|
</GhUploader>
|
|
{{/if}}
|