mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-06 07:31:48 +01:00
This commit is contained in:
parent
3801e030df
commit
3e3b319653
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue