fix: restore native text context menu
This commit is contained in:
@@ -9,6 +9,7 @@ import { join } from 'node:path';
|
||||
import { registerIpcHandlers } from './ipc-handlers';
|
||||
import { createTray } from './tray';
|
||||
import { createMenu } from './menu';
|
||||
import { registerTextContextMenu } from './context-menu';
|
||||
import { registerZoomShortcuts } from './zoom-shortcuts';
|
||||
import { getNativeWindowMaterialOptions } from './window-material';
|
||||
|
||||
@@ -272,6 +273,7 @@ function createWindow(): BrowserWindow {
|
||||
});
|
||||
|
||||
installMediaPermissionHandler(win);
|
||||
registerTextContextMenu(win);
|
||||
registerZoomShortcuts(win);
|
||||
|
||||
// Handle external links — only allow safe protocols to prevent arbitrary
|
||||
|
||||
Reference in New Issue
Block a user