From 95cd217cdc554fcbcc6e1dc2d95fa0cd3486b208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Sun, 8 Mar 2026 00:31:06 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[planning-design]=20Ctrl+X=20=EC=9E=98?= =?UTF-8?q?=EB=9D=BC=EB=82=B4=EA=B8=B0=20=EA=B8=B0=EB=8A=A5=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20(=EB=8B=A8=EC=9D=BC/=EB=8B=A4=EC=A4=91)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/rd/planning-design/index.blade.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/views/rd/planning-design/index.blade.php b/resources/views/rd/planning-design/index.blade.php index 4ae9801a..1bf71073 100644 --- a/resources/views/rd/planning-design/index.blade.php +++ b/resources/views/rd/planning-design/index.blade.php @@ -2811,6 +2811,11 @@ function planningCanvas() { this.sbCopyBlock(); return; } + if ((e.ctrlKey || e.metaKey) && (e.key === 'x' || e.key === 'X')) { + e.preventDefault(); + this.sbCutBlock(); + return; + } if ((e.ctrlKey || e.metaKey) && (e.key === 'v' || e.key === 'V')) { e.preventDefault(); this.sbPasteBlock(); @@ -3194,6 +3199,11 @@ function planningCanvas() { this._sbClipboard = JSON.parse(JSON.stringify(blk)); }, + sbCutBlock() { + this.sbCopyBlock(); + this.sbDeleteSelectedBlock(); + }, + sbPasteBlock() { if (!this._sbClipboard) return; const page = this.sbCurrentPage;