Skip to content

Revert button in editor doesn't work #25

Description

@fdocr

Describe the bug
When editing an existing Post and changes are introduced a "Revert" button appears but it doesn't work

To Reproduce
Steps to reproduce the behavior:

  1. Go to the editor
  2. Save a draft post
  3. Edit the newly created draft
  4. Tap on the "Revert" button

Expected behavior
A confirmation prompt should appear and if the user confirms the alert modal then the recent changes should be reverted.

This works in a Desktop browser.

Screenshots
https://share.getcloudapp.com/wbu9oLEk

Environment (please complete the following information):

  • Device: iPhone 11
  • OS: iOS 14.3
  • Release version: v0.3.0

Additional context
Found based on report from forem/forem#12401

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions