mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 13:17:10 +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:
@@ -8,14 +8,16 @@ export type SurfaceRefProps = {
|
||||
reference: string;
|
||||
caption: string;
|
||||
refFlavour: string;
|
||||
comments?: Record<string, boolean>;
|
||||
};
|
||||
|
||||
export const SurfaceRefBlockSchema = defineBlockSchema({
|
||||
flavour: 'affine:surface-ref',
|
||||
props: () => ({
|
||||
props: (): SurfaceRefProps => ({
|
||||
reference: '',
|
||||
caption: '',
|
||||
refFlavour: '',
|
||||
comments: undefined,
|
||||
}),
|
||||
metadata: {
|
||||
version: 1,
|
||||
|
||||
Reference in New Issue
Block a user