mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 22:08:48 +01:00
🎨 Unable to start selection from the .protyle-action element of the code block (#14997)
fix https://github.com/siyuan-note/siyuan/issues/13863
This commit is contained in:
parent
6f312ea7cc
commit
cfc1fff791
1 changed files with 1 additions and 1 deletions
|
|
@ -643,7 +643,7 @@ export class WYSIWYG {
|
|||
clearSelect(["img", "av"], protyle.wysiwyg.element);
|
||||
}
|
||||
|
||||
if (hasClosestByClassName(target, "protyle-action") ||
|
||||
if ((hasClosestByClassName(target, "protyle-action") && !hasClosestByClassName(target, "code-block") )||
|
||||
(hasClosestByClassName(target, "av__cell--header") && !hasClosestByClassName(target, "av__widthdrag"))) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue