Fix mobile sync issue
This commit is contained in:
parent
5fc67c7b92
commit
19cb616eb9
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ export class ObsidianFileOperations implements FileOperations {
|
|||
return new Uint8Array(0);
|
||||
}
|
||||
|
||||
if (lib.isBinary(expectedContent)) {
|
||||
if (lib.isBinary(expectedContent) || !path.endsWith(".md")) {
|
||||
await this.vault.adapter.writeBinary(
|
||||
normalizePath(path),
|
||||
newContent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue