Ghost/ghost/admin/app/templates/components/gh-ed-preview.hbs
Austin Burdine 93acca96fb fix image uploader text handling (again) (#140)
closes TryGhost/Ghost#7127
- image uploader now handles "text" and "alt text" differently
2016-07-24 10:19:49 +01:00

15 lines
518 B
Handlebars

{{previewHTML}}
{{#each imageUploadComponents as |uploader|}}
{{#ember-wormhole to=uploader.destinationElementId}}
{{gh-image-uploader-with-preview
image=uploader.src
altText=uploader.altText
update=(action "updateImageSrc" uploader.index)
remove=(action "updateImageSrc" uploader.index "")
uploadStarted=uploadStarted
uploadFinished=uploadFinished
formChanged=(action "updateHeight")}}
{{/ember-wormhole}}
{{/each}}