From 36cc29a2dc2f6089892d07ea9f2691e00082948b Mon Sep 17 00:00:00 2001 From: ZigHolding Date: Sat, 5 Jul 2025 12:41:42 +0800 Subject: [PATCH] wxmp --- src/wxmp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wxmp.ts b/src/wxmp.ts index d51b142..b99d43f 100644 --- a/src/wxmp.ts +++ b/src/wxmp.ts @@ -331,7 +331,7 @@ export class Wxmp { if (!tfile) { return } let ext = tfile.extension.toLowerCase() if (!img_ext.contains(ext)) { return } - let data = await app.vault.readBinary(tfile) + let data = await this.app.vault.readBinary(tfile) let text = this.arrayBufferToBase64(data); let bs64 = `data:image/png;base64,${text}`