Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ios/Sources/GutenbergKit/Sources/EditorViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,12 @@ public final class EditorViewController: UIViewController, GutenbergEditorContro
config.preferences.setValue(true, forKey: "allowFileAccessFromFileURLs")
config.setValue(true, forKey: "allowUniversalAccessFromFileURLs")

// Request inline Writing Tools so results apply directly in the post;
// otherwise they appear only in a Copy/Replace panel.
if #available(iOS 18.0, *) {
config.writingToolsBehavior = .complete
}

// Set-up communications with the editor.
config.userContentController.add(controller, name: "editorDelegate")

Expand Down
Loading