mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
26e70e86ea
refs https://github.com/TryGhost/Ghost/issues/9505 - use `ember-sticky-element` to stick card icons in top left when scrolling - pass an `headerOffset` down from the `{{gh-editor}}` component through Koenig and the card components so that it can be used for adjustments where necessary - calculate `headerHeight` in `{{gh-editor}}` any time we change the header class
17 lines
554 B
Handlebars
17 lines
554 B
Handlebars
{{yield (hash
|
|
headerClass=headerClass
|
|
headerHeight=headerHeight
|
|
isDraggedOver=isDraggedOver
|
|
isFullScreen=isFullScreen
|
|
droppedFiles=droppedFiles
|
|
uploadedImageUrls=uploadedImageUrls
|
|
imageMimeTypes=imageMimeTypes
|
|
imageExtensions=imageExtensions
|
|
toggleFullScreen=(action "toggleFullScreen")
|
|
togglePreview=(action "togglePreview")
|
|
toggleSplitScreen=(action "toggleSplitScreen")
|
|
uploadComplete=(action "uploadComplete")
|
|
uploadCancelled=(action "uploadCancelled")
|
|
uploadImages=(action "uploadImages")
|
|
)}}
|