{#key doc?._id} descriptionBox.saveNewAttachment(e.detail)} on:detached={(e) => descriptionBox.removeAttachmentById(e.detail)} showButtons on:blur={save} on:changeContent={triggerSave} maxHeight={'card'} focusable bind:content={description} {placeholder} on:open-document={async (event) => { save() const doc = await client.findOne(event.detail._class, { _id: event.detail._id }) if (doc != null) { const location = await getObjectLinkFragment(client.getHierarchy(), doc, {}, view.component.EditDoc) navigate(location) } }} /> {/key}