feat: #7096, improve chat editing

use a new template for editing chats,
remove the data-mid on the chat inputEl
This commit is contained in:
Barış Soner Uşaklı
2023-04-29 20:32:09 -04:00
parent e0f0c08a98
commit eb0c77fd69
5 changed files with 100 additions and 52 deletions

View File

@@ -0,0 +1,7 @@
<div class="d-flex flex-column gap-1 mb-1">
<textarea class="form-control w-100 p-2 overflow-hidden" style="height: 32px; max-height: 30vh; resize: none;">{rawContent}</textarea>
<div class="align-self-end d-flex gap-2 bottom-0 end-0">
<button class="btn btn-sm btn-outline-secondary" data-action="cancel">[[global:cancel]]</button>
<button class="btn btn-sm btn-success" data-action="save">[[global:save]]</button>
</div>
</div>