mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-21 20:11:43 +08:00
feat(editor): block comment extension (#12980)
#### PR Dependency Tree * **PR #12980** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal)
This commit is contained in:
@@ -28,6 +28,7 @@ export type BookmarkBlockProps = {
|
||||
url: string;
|
||||
caption: string | null;
|
||||
footnoteIdentifier: string | null;
|
||||
comments?: Record<string, boolean>;
|
||||
} & LinkPreviewData &
|
||||
Omit<GfxCommonBlockProps, 'scale'> &
|
||||
BlockMeta;
|
||||
@@ -52,6 +53,7 @@ const defaultBookmarkProps: BookmarkBlockProps = {
|
||||
'meta:updatedBy': undefined,
|
||||
|
||||
footnoteIdentifier: null,
|
||||
comments: undefined,
|
||||
};
|
||||
|
||||
export const BookmarkBlockSchema = defineBlockSchema({
|
||||
|
||||
Reference in New Issue
Block a user