forem / ForemWebView-ios

Forem core interface SDK
GNU General Public License v3.0
22 stars 7 forks source link

Revert button in editor doesn't work #25

Open fdocr opened 3 years ago

fdocr commented 3 years ago

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):

Additional context Found based on report from https://github.com/forem/forem/issues/12401