mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-22 20:41:50 +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:
@@ -30,6 +30,7 @@ export type FrameBlockProps = {
|
||||
background: Color;
|
||||
childElementIds?: Record<string, boolean>;
|
||||
presentationIndex?: string;
|
||||
comments?: Record<string, boolean>;
|
||||
} & GfxCompatibleProps;
|
||||
|
||||
export const FrameZodSchema = z
|
||||
@@ -50,6 +51,7 @@ export const FrameBlockSchema = defineBlockSchema({
|
||||
childElementIds: Object.create(null),
|
||||
presentationIndex: generateKeyBetweenV2(null, null),
|
||||
lockedBySelf: false,
|
||||
comments: undefined,
|
||||
}),
|
||||
metadata: {
|
||||
version: 1,
|
||||
|
||||
Reference in New Issue
Block a user