From fa58b0f0330744cb09f280a9da34d38f71dfeda7 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Thu, 8 Oct 2026 15:35:37 +0200 Subject: [PATCH] gui: make chat block text editable for scratchpad use MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove readOnly from TextEdit components in ChatBlockDelegate. Users can now edit text in-place — changes are local only, not persisted. --- kde/gui/ChatBlockDelegate.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kde/gui/ChatBlockDelegate.qml b/kde/gui/ChatBlockDelegate.qml index c5e80dc..0a07c91 100644 --- a/kde/gui/ChatBlockDelegate.qml +++ b/kde/gui/ChatBlockDelegate.qml @@ -191,13 +191,13 @@ Column { // Fast path: single TextEdit for the concatenated HTML. // Diagrams are handled separately via the segments list. + // Editable for scratchpad use - changes are local only, not persisted. TextEdit { id: mainTextEdit width: root.width visible: !hasDiagrams() text: root.blockRenderedHtml textFormat: Text.RichText - readOnly: true selectByMouse: true persistentSelection: true wrapMode: TextEdit.Wrap @@ -349,7 +349,6 @@ Column { width: root.width text: segmentData.html || "" textFormat: Text.RichText - readOnly: true selectByMouse: true persistentSelection: true wrapMode: TextEdit.Wrap