Ghost/ghost/admin/app/components/modal-post-history.hbs
Chris Raible 79a95268b6
Added Post History modal to the editor behind postHistory flag (#16651)
no issue

- added modal-post-history component and wired it up to the
lexical-editor

### <samp>🤖 Generated by Copilot at b726dd5</samp>

> _`Post history` is the key to the past_
> _Unveil the changes in a modal so vast_
> _But beware of the doom that lurks in the edits_
> _The lexical-editor is a portal to the abyss_
2023-04-17 15:25:52 +01:00

19 lines
734 B
Handlebars

{{!-- template-lint-disable no-invalid-interactive --}}
<div class="modal-body gh-ps-modal-body modal-fullsettings modal-fullsettings-body ">
<div class="flex pa0 flex-grow-1 gh-post-history">
<div class=" modal-fullsettings-sidebar-labs">
<h2 class="modal-fullsettings-heading-labs">Post History</h2>
<button
class="gh-btn mr3" type="button" {{action "closeModal"}}
{{!-- disable mouseDown so it doesn't trigger focus-out validations --}}
{{on "mousedown" (optional this.noop)}}
>
<span>Exit</span>
</button>
</div>
<div class="gh-post-history-main">
</div>
</div>
</div>