Ghost/ghost/admin/app/components/gh-fullscreen-modal.hbs
Kevin Ansfield e932af26a7 Added first pass at new post preview
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
2021-02-02 16:08:04 +00:00

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>