mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix(editor): should update image size field (#12274)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Image content now includes file size information in its metadata. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -101,6 +101,7 @@ export class ImageAdapter extends BaseAdapter<Image> {
|
||||
flavour: 'affine:image',
|
||||
id: nanoid(),
|
||||
props: {
|
||||
size: item.size,
|
||||
sourceId: blobId,
|
||||
},
|
||||
children: [],
|
||||
|
||||
Reference in New Issue
Block a user