Vanessa 2024-04-15 16:52:28 +08:00
parent 3801e030df
commit 3e3b319653

View file

@ -1752,7 +1752,7 @@ export class WYSIWYG {
return;
}
const blockElement = hasClosestBlock(event.target);
if (blockElement && !getContenteditableElement(blockElement)) {
if (blockElement && (!getContenteditableElement(blockElement) || hasClosestByClassName(event.target, "av__cursor"))) {
event.stopPropagation();
event.preventDefault();
return;