When operating on the currently opened note, changes are typically written to an in-memory cache and are not persisted to the file immediately. If you call file-related APIs without saving (e.g.Documentation Index
Fetch the complete documentation index at: https://docs.supernote.com/llms.txt
Use this file to discover all available pages before exploring further.
replaceElements,
insertElements、
modifyElements etc.),
the data state may become inconsistent. It is recommended to call saveCurrentNote first to persist cached data to the file, and then perform file-level read/write operations.
APIResponse<boolean>:result === trueindicates saving the note file succeeded