This seems to fix losing sizes when attaching files.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4327 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-06-17 14:23:32 +00:00
parent 39ac215b5a
commit 48c47f097a

View File

@ -154,6 +154,7 @@ class TfComposeElement extends LitElement {
size: buffer.length ?? buffer.byteLength, size: buffer.length ?? buffer.byteLength,
}; };
let edit = self.renderRoot.getElementById('edit'); let edit = self.renderRoot.getElementById('edit');
self.notify(draft);
edit.value += `\n![${name}](${id})`; edit.value += `\n![${name}](${id})`;
self.change(); self.change();
self.input(); self.input();