Skip to content

Commit 5070ed6

Browse files
committed
Add a missing delegate function
1 parent 014b963 commit 5070ed6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

WordPress/Classes/ViewRelated/NewGutenberg/SimpleGBKViewController.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,8 @@ extension SimpleGBKViewController: GutenbergKit.EditorViewControllerDelegate {
139139

140140
func editor(_ viewController: GutenbergKit.EditorViewController, didCloseModalDialog dialogType: String) {
141141
}
142+
143+
func editorDidRequestLatestContent(_ controller: GutenbergKit.EditorViewController) -> (title: String, content: String)? {
144+
return nil
145+
}
142146
}

0 commit comments

Comments
 (0)