Vanessa 2025-07-01 17:40:49 +08:00
parent cfc1fff791
commit 4ee542e06e

View file

@ -643,7 +643,7 @@ export class WYSIWYG {
clearSelect(["img", "av"], protyle.wysiwyg.element);
}
if ((hasClosestByClassName(target, "protyle-action") && !hasClosestByClassName(target, "code-block") )||
if ((hasClosestByClassName(target, "protyle-action") && !hasClosestByClassName(target, "code-block")) ||
(hasClosestByClassName(target, "av__cell--header") && !hasClosestByClassName(target, "av__widthdrag"))) {
return;
}