There was an error while loading. Please reload this page.
1 parent 03503f6 commit 7be70c8Copy full SHA for 7be70c8
1 file changed
src/components/Editor/MediaHandler.vue
@@ -222,6 +222,7 @@ export default {
222
return createAttachment(this.connection, template)
223
.then((response) => {
224
this.insertAttachmentPreview(response.data?.id)
225
+ emit('text:image-node:add', null)
226
})
227
.catch((error) => {
228
logger.error('Failed to create attachment', { error })
0 commit comments