You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix request import to send the correct information.
Beside fixing the request for import to send the correct parameters in
the callback, we are also improving the interface by replacing a tupple
for a structure to make parameters more explicit.
@@ -71,7 +85,7 @@ public protocol GutenbergBridgeDelegate: class {
71
85
/// - url: the url to import
72
86
/// - callback: A callback block to be called with an array of upload mediaIdentifiers and a placeholder images file url, use nil on both parameters to signal that the action has failed.
73
87
//
74
-
func gutenbergDidRequestImport(from url:URL, with callback:@escapingMediaPickerDidPickMediaCallback)
88
+
func gutenbergDidRequestImport(from url:URL, with callback:@escapingMediaImportCallback)
75
89
76
90
/// Tells the delegate that an image block requested to reconnect with media uploads coordinator.
0 commit comments