Skip to content

Commit

Permalink
feat: Send save event when toggling editor modes
Browse files Browse the repository at this point in the history
  • Loading branch information
Siobhan committed Apr 20, 2023
1 parent 87cc16f commit 133107a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ class GutenbergViewController: UIViewController, PostEditor, FeaturedImageDelega
}

func toggleEditingMode() {
emitPostSaveEvent()
gutenberg.toggleHTMLMode()
mode.toggle()
editorSession.switch(editor: analyticsEditor)
Expand Down

0 comments on commit 133107a

Please sign in to comment.