mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Independent technology for modern publishing, memberships, subscriptions and newsletters.
bloggingcmscreator-economyghosthacktoberfestheadless-cmsjamstackjavascriptjournalismnodejspublishingweb-application
no issue - if a post was saved before the body content was edited you would get stuck with an "Are you sure you want to leave?" modal even though you had already saved - the editor saw the post as being in a dirty state because the `mobiledoc` and `scratch` value were null but after saving the `mobiledoc` value was set to an blank mobiledoc object as returned by the API - updated the `post` model save method to reset the `scratch` value if the returned `mobiledoc` no longer matches |
||
---|---|---|
ghost/admin |