From d0130da65f55af1591b25fda9d4183bb23fe9c22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Thu, 16 Jul 2026 13:21:35 +0800 Subject: [PATCH] comment for paste impl: only consider work in tauri env --- .../src/view/home/components/RichInputArea/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ai-game-creator-shell/src/view/home/components/RichInputArea/index.tsx b/apps/ai-game-creator-shell/src/view/home/components/RichInputArea/index.tsx index 7d20f67e6..fef5bc5c5 100644 --- a/apps/ai-game-creator-shell/src/view/home/components/RichInputArea/index.tsx +++ b/apps/ai-game-creator-shell/src/view/home/components/RichInputArea/index.tsx @@ -162,6 +162,7 @@ function EditorPlugins({ useEffect( () => + // this ONLY works in Tauri, no plan for browser by now. editor.registerCommand( PASTE_COMMAND, (event) => {