Allow undo in reading mode

Steps to reproduce

  1. Create a task in a note
    - [] Test task
  2. Switch to reading mode
  3. Mark the task as done
  4. Type UNDO ^Z / edit → undo

Expected result

I should be able to undo the “mark as done” action (^Z or Edit > Undo)

Actual result

Nothing happens when I UNDO the action

Environment

MacOS 12.5 latest obsidian version 0.15.9 plugins disabled


Additional information

I initially thought this was an issue with obsidian tasks plug-in so submitted a bug report here