mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 15:06:38 +02:00
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:
7
src/views/partials/chats/edit-message.tpl
Normal file
7
src/views/partials/chats/edit-message.tpl
Normal 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>
|
||||
Reference in New Issue
Block a user