mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
e932af26a7
refs https://github.com/TryGhost/Team/issues/451 Start of new post preview prototype. - adds preview button next to publish button - opens new combined preview modal with desktop/email/social tabs - desktop preview shows front-end preview url in iframe - email preview fetches preview data as per the older email preview modal - social preview to come later
17 lines
558 B
Handlebars
17 lines
558 B
Handlebars
<LiquidWormhole @class="fullscreen-modal-container">
|
|
<div class="fullscreen-modal-background" {{action "clickOverlay"}}></div>
|
|
<div class={{this.modalClasses}}>
|
|
{{#if hasBlock}}
|
|
{{yield}}
|
|
{{else}}
|
|
{{#let (component this.modalPath) as |ModalComponent|}}
|
|
<ModalComponent
|
|
@model={{this.model}}
|
|
@config={{action "confirm"}}
|
|
@closeModal={{action "close"}}
|
|
/>
|
|
{{/let}}
|
|
{{/if}}
|
|
</div>
|
|
</LiquidWormhole>
|