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:
@@ -69,6 +69,7 @@ export const NoteBlockSchema = defineBlockSchema({
|
||||
shadowType: DEFAULT_NOTE_SHADOW,
|
||||
},
|
||||
},
|
||||
comments: undefined,
|
||||
}),
|
||||
metadata: {
|
||||
version: 1,
|
||||
@@ -91,6 +92,7 @@ export type NoteProps = {
|
||||
background: Color;
|
||||
displayMode: NoteDisplayMode;
|
||||
edgeless: NoteEdgelessProps;
|
||||
comments?: Record<string, boolean>;
|
||||
/**
|
||||
* @deprecated
|
||||
* use `displayMode` instead
|
||||
|
||||
Reference in New Issue
Block a user