fa0b1c607b
no issue - removed labs flag - removed main editor component and all associated components - switched usage of `<KoenigBasicHtmlInput>` and `<KoenigBasicHtmlTextarea>` over to use plain `textarea`, the only uses were in settings modals that have been replaced in AdminX - cleaned up unused editor CSS
22 lines
674 B
Handlebars
22 lines
674 B
Handlebars
{{#if @image}}
|
|
<div class="gh-image-uploader -with-image">
|
|
<div><img src={{@image}}></div>
|
|
<KoenigImageEditor
|
|
@imageSrc={{@image}}
|
|
@saveUrl={{@update}}
|
|
/>
|
|
<a class="image-action image-delete" title="Delete" {{on "click" (fn @remove "")}}>
|
|
{{svg-jar "trash"}}
|
|
<span class="hidden">Delete</span>
|
|
</a>
|
|
</div>
|
|
{{else}}
|
|
<GhImageUploader
|
|
@text={{@text}}
|
|
@altText={{@altText}}
|
|
@allowUnsplash={{@allowUnsplash}}
|
|
@update={{@update}}
|
|
@uploadStarted={{optional @uploadStarted}}
|
|
@uploadFinished={{optional @uploadFinished}}
|
|
/>
|
|
{{/if}} |