gui: make chat block text editable for scratchpad use

Remove readOnly from TextEdit components in ChatBlockDelegate.
Users can now edit text in-place — changes are local only, not persisted.
This commit is contained in:
Levi Neely 2026-10-08 15:35:37 +02:00
parent 9618c79232
commit fa58b0f033
1 changed files with 1 additions and 2 deletions

View File

@ -191,13 +191,13 @@ Column {
// Fast path: single TextEdit for the concatenated HTML. // Fast path: single TextEdit for the concatenated HTML.
// Diagrams are handled separately via the segments list. // Diagrams are handled separately via the segments list.
// Editable for scratchpad use - changes are local only, not persisted.
TextEdit { TextEdit {
id: mainTextEdit id: mainTextEdit
width: root.width width: root.width
visible: !hasDiagrams() visible: !hasDiagrams()
text: root.blockRenderedHtml text: root.blockRenderedHtml
textFormat: Text.RichText textFormat: Text.RichText
readOnly: true
selectByMouse: true selectByMouse: true
persistentSelection: true persistentSelection: true
wrapMode: TextEdit.Wrap wrapMode: TextEdit.Wrap
@ -349,7 +349,6 @@ Column {
width: root.width width: root.width
text: segmentData.html || "" text: segmentData.html || ""
textFormat: Text.RichText textFormat: Text.RichText
readOnly: true
selectByMouse: true selectByMouse: true
persistentSelection: true persistentSelection: true
wrapMode: TextEdit.Wrap wrapMode: TextEdit.Wrap