From 76113a126cd06b357179727da7ba5013a539cf9d Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 30 Oct 2023 00:43:14 +0800 Subject: [PATCH] :bug: https://ld246.com/article/1698591240662 --- app/src/protyle/wysiwyg/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 7dfdb1942..0c587674f 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -395,7 +395,7 @@ export class WYSIWYG { documentSelf.ondragstart = null; documentSelf.onselectstart = null; documentSelf.onselect = null; - if (!newWidth || newWidth !== oldWidth + "px") { + if (!newWidth || newWidth === oldWidth + "px") { return; } transaction(protyle, [{