You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix spurious saves on note open with discrete editor update
The editor.update() in InitialContentPlugin was async (batched),
causing onInitComplete to fire before the import settled. The
OnChangeMarkdownPlugin baseline was recorded from the pre-import
state, so the first post-init update saw a different export and
triggered onChange, causing every note open to schedule a save.
Fix: use { discrete: true } so the import settles synchronously
before the baseline is recorded.
0 commit comments