mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 09:59:55 +08:00
fix(editor): missing refFlavour in creation of surface-ref (#11445)
This commit is contained in:
@@ -12,11 +12,11 @@ export type SurfaceRefProps = {
|
||||
|
||||
export const SurfaceRefBlockSchema = defineBlockSchema({
|
||||
flavour: 'affine:surface-ref',
|
||||
props: () =>
|
||||
({
|
||||
reference: '',
|
||||
caption: '',
|
||||
}) as SurfaceRefProps,
|
||||
props: () => ({
|
||||
reference: '',
|
||||
caption: '',
|
||||
refFlavour: '',
|
||||
}),
|
||||
metadata: {
|
||||
version: 1,
|
||||
role: 'content',
|
||||
|
||||
Reference in New Issue
Block a user