diff --git a/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte b/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte index 0f247f0330..a8d4a31a8f 100644 --- a/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte +++ b/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte @@ -299,6 +299,7 @@ on:changeSize on:changeContent on:blur + on:focus on:attach={() => { if (fakeAttach === 'fake') dispatch('attach', { action: 'add' }) else if (fakeAttach === 'normal') attach()