This commit is contained in:
Vanessa 2023-10-30 00:43:14 +08:00
parent bba40d278f
commit 76113a126c

View file

@ -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, [{