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:
parent
9618c79232
commit
fa58b0f033
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue