Ghost/ghost/admin/app/components/modal-post-preview
Kevin Ansfield ff09a20ac8 Made social/meta text and images in preview modal editable (#1850)
refs https://github.com/TryGhost/Team/issues/482

- replace titles and descriptions with text fields when clicked
    - save on blur
    - blur+save on <kbd>Enter</kbd>
    - blur+restore on <kbd>Escape</kbd>
    - create newline with <kbd>Shift+Enter</kbd> in description fields
- if there's no available image or fallback show a "+ Add image" header in the previews when hovering
- if there is an image show an upload/change image button when hovering
- show a delete image button when hovering once a custom image has been uploaded

Co-authored-by: Sanne de Vries <sannedv@protonmail.com>
2021-02-23 18:37:12 +00:00
..
browser.hbs Added link to preview-in-new-tab button 2021-02-16 11:51:32 +00:00
browser.js Added share/send preview footers to post preview modal 2021-02-02 16:08:05 +00:00
email.hbs Updated footer design of post preview 2021-02-08 19:20:44 +01:00
email.js Fixed sending email preview from post preview modal 2021-02-02 16:08:07 +00:00
mobile.hbs Added link to preview-in-new-tab button 2021-02-16 11:51:32 +00:00
mobile.js Improved preview post modal design and added mobile view 2021-02-02 16:08:05 +00:00
social.hbs Made social/meta text and images in preview modal editable (#1850) 2021-02-23 18:37:12 +00:00
social.js Made social/meta text and images in preview modal editable (#1850) 2021-02-23 18:37:12 +00:00