mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03:00
93acca96fb
closes TryGhost/Ghost#7127 - image uploader now handles "text" and "alt text" differently
15 lines
518 B
Handlebars
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}}
|