From 87cc16fa922edaa49f499a0a3d70a060a7eed7fa Mon Sep 17 00:00:00 2001 From: Siobhan Date: Thu, 20 Apr 2023 14:06:17 +0100 Subject: [PATCH] feat: Emit save event when post is previewed --- WordPress/Classes/ViewRelated/Post/PostEditor+MoreOptions.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WordPress/Classes/ViewRelated/Post/PostEditor+MoreOptions.swift b/WordPress/Classes/ViewRelated/Post/PostEditor+MoreOptions.swift index ed3352f5bdd8..f414d444a80d 100644 --- a/WordPress/Classes/ViewRelated/Post/PostEditor+MoreOptions.swift +++ b/WordPress/Classes/ViewRelated/Post/PostEditor+MoreOptions.swift @@ -76,6 +76,8 @@ extension PostEditor { return } + emitPostSaveEvent() + savePostBeforePreview() { [weak self] previewURLString, error in guard let self = self else { return