diff --git a/app/src/layout/Wnd.ts b/app/src/layout/Wnd.ts index 8f451af8e8f..081ea99c424 100644 --- a/app/src/layout/Wnd.ts +++ b/app/src/layout/Wnd.ts @@ -101,6 +101,10 @@ export class Wnd { window.siyuan.menus.menu.remove(); event.stopPropagation(); event.preventDefault(); + // 阻止 Linux 中键粘贴 + setTimeout(() => { + window.getSelection().removeAllRanges(); + }); break; } target = target.parentElement;