mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
cf8b372fed
refs https://github.com/TryGhost/Team/issues/1621 - copied existing preview modal over to `editor-labs/modals` directory - old modal will be deleted in cleanup - moved "Preview" button from editor template to the `<PublishManagement>` component - allows for preview modal to be controlled alongside the publish flow modal - added `togglePreviewPublish()` action to `<PublishManagement>` - opens whichever of preview/publish is not currently open, this opens the new modal on top of the old modal - waits for the modal animation duration to pass then closes the modal that's now underneath, this prevents the flashing that occurs when modals are both opening and closing at the same time because that results in a 50% opacity of both modals during the middle of the animation - updated preview modal and publish-flow modals to have "Publish" and "Preview" buttons respectively that call the `togglePreviewPublish` action - updated preview modal to be fullscreen to better match the publish modal |
||
---|---|---|
.. | ||
editor | ||
members | ||
settings | ||
setup | ||
-contributors.hbs | ||
application-error.hbs | ||
application.hbs | ||
dashboard.hbs | ||
designsandbox.hbs | ||
editor.hbs | ||
error.hbs | ||
launch.hbs | ||
member.hbs | ||
members-activity.hbs | ||
members.hbs | ||
offer.hbs | ||
offers.hbs | ||
pages-loading.hbs | ||
pages.hbs | ||
posts-loading.hbs | ||
posts.hbs | ||
reset.hbs | ||
settings.hbs | ||
setup.hbs | ||
signin.hbs | ||
signup.hbs | ||
site.hbs | ||
tag.hbs | ||
tags-loading.hbs | ||
tags.hbs | ||
whatsnew.hbs |