There was an error while loading. Please reload this page.
2 parents 901299e + 17a3765 commit 735f393Copy full SHA for 735f393
1 file changed
src/components/Editor/MediaHandler.vue
@@ -213,6 +213,7 @@ export default {
213
return createAttachment(this.connection, template)
214
.then((response) => {
215
this.insertAttachmentPreview(response.data?.id)
216
+ emit('text:image-node:add', null)
217
})
218
.catch((error) => {
219
logger.error('Failed to create attachment', { error })
0 commit comments