mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	chore(client/ts): port menus/link_context_menu
This commit is contained in:
		| @@ -8,7 +8,7 @@ import zoomComponent from "./zoom.js"; | ||||
| import TabManager from "./tab_manager.js"; | ||||
| import Component from "./component.js"; | ||||
| import keyboardActionsService from "../services/keyboard_actions.js"; | ||||
| import linkService from "../services/link.js"; | ||||
| import linkService, { ViewScope } from "../services/link.js"; | ||||
| import MobileScreenSwitcherExecutor from "./mobile_screen_switcher.js"; | ||||
| import MainTreeExecutors from "./main_tree_executors.js"; | ||||
| import toast from "../services/toast.js"; | ||||
| @@ -62,7 +62,14 @@ type CommandMappings = { | ||||
|     openNewNoteSplit: CommandData & { | ||||
|         ntxId: string; | ||||
|         notePath: string; | ||||
|         hoistedNoteId?: string; | ||||
|         viewScope?: ViewScope; | ||||
|     }; | ||||
|     openInWindow: CommandData & { | ||||
|         notePath: string; | ||||
|         hoistedNoteId: string; | ||||
|         viewScope: ViewScope; | ||||
|     } | ||||
|     executeInActiveNoteDetailWidget: CommandData & { | ||||
|         callback: (value: NoteDetailWidget | PromiseLike<NoteDetailWidget>) => void | ||||
|     }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user