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