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.
// 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