From 5ea5e8662144909f77b088285680a718a2fba6a2 Mon Sep 17 00:00:00 2001 From: Sarang19 Date: Tue, 8 Jul 2025 23:56:53 +0530 Subject: [PATCH] Fix: Enable selectable text in assistant responses (#56) --- src/features/ask/AskView.js | 6 ++++++ src/features/listen/AssistantView.js | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/features/ask/AskView.js b/src/features/ask/AskView.js index 437aa91..de58a86 100644 --- a/src/features/ask/AskView.js +++ b/src/features/ask/AskView.js @@ -98,6 +98,12 @@ export class AskView extends LitElement { user-select: none; } + /* Allow text selection in assistant responses */ + .response-container, .response-container * { + user-select: text !important; + cursor: text !important; + } + .response-container pre { background: rgba(0, 0, 0, 0.4) !important; border-radius: 8px !important; diff --git a/src/features/listen/AssistantView.js b/src/features/listen/AssistantView.js index e1584ca..aa8d279 100644 --- a/src/features/listen/AssistantView.js +++ b/src/features/listen/AssistantView.js @@ -82,6 +82,12 @@ export class AssistantView extends LitElement { user-select: none; } + /* Allow text selection in insights responses */ + .insights-container, .insights-container *, .markdown-content { + user-select: text !important; + cursor: text !important; + } + /* highlight.js 스타일 추가 */ .insights-container pre { background: rgba(0, 0, 0, 0.4) !important;