Skip to content

Conversation

@pjkaufman
Copy link
Collaborator

Fixes #1361

There was a reported bug where if a user had setting enabled to get the timestamp to update x seconds after they make a change in the editor and then they changed to reading view before those x seconds were up, the changes would not be shown. To get around this, we have to change the view out of reading mode and then back to reading mode after the changes are made. But this requires the file to be reloaded in order to work. This causes a little bit of a screen flicker.

Changes Made:

  • Updated typings accordingly for the new unofficial API that is used
  • Passed in the markdown info to use as needed for changing the view to and from reading mode

@pjkaufman pjkaufman self-assigned this Sep 10, 2025
@pjkaufman pjkaufman added bug Something isn't working obsidian Obsidian specific syntax issue or feature labels Sep 10, 2025
@pjkaufman pjkaufman merged commit 5db8a61 into platers:master Sep 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working obsidian Obsidian specific syntax issue or feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Switching to Reading mode prevents Update YAML Timestamp on File Contents Update

1 participant