mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-29 19:56:10 +01:00
This commit is contained in:
parent
3cc5644991
commit
0745092dfe
2 changed files with 167 additions and 161 deletions
|
|
@ -1335,7 +1335,7 @@ export class WYSIWYG {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
if (!protyle.disabled && target.tagName === "IMG" && hasClosestByClassName(target, "img")) {
|
||||
if (target.tagName === "IMG" && hasClosestByClassName(target, "img")) {
|
||||
imgMenu(protyle, protyle.toolbar.range, target.parentElement.parentElement, {
|
||||
clientX: x + 4,
|
||||
clientY: y
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue