diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index fc1aa570950f..75e2226c4dc0 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -43,6 +43,8 @@ * [*] Fix an issue with fullscreen button in reply view clipped by the notch [#23965] * [*] Remove "Lazy Images" option that is no longer part of the Jetpack plugin [#23966] * [*] Fix an issue with "Speed up your site" section not refreshing (fails silently) [#23966] +* [**] Enable history navigation (undo and redo) for the experimental editor. [#23961] +* [*] Avoid unexpectedly marking post content as unsaved. [#23969] 25.6 ----- diff --git a/WordPress/Classes/ViewRelated/NewGutenberg/NewGutenbergViewController.swift b/WordPress/Classes/ViewRelated/NewGutenberg/NewGutenbergViewController.swift index 7761ada2507a..c326d3ebeb96 100644 --- a/WordPress/Classes/ViewRelated/NewGutenberg/NewGutenbergViewController.swift +++ b/WordPress/Classes/ViewRelated/NewGutenberg/NewGutenbergViewController.swift @@ -70,18 +70,6 @@ class NewGutenbergViewController: UIViewController, PostEditor, PublishingEditor private let editorViewController: GutenbergKit.EditorViewController private weak var autosaveTimer: Timer? - var editorHasChanges: Bool { - var changes = post.changes - // TODO: cleanup (+ it doesn't handle scenarios like load from a revision) - // - warning: it has to compare two version serialized using the same system - if editorViewController.initialContent != post.content { - changes.content = post.content - } else { - changes.content = nil // yes, it needs to be set to .none manually - } - return !changes.isEmpty - } - // TODO: remove (none of these APIs are needed for the new editor) var autosaver = Autosaver(action: {}) func prepopulateMediaItems(_ media: [Media]) {}