mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 13:41:52 +00:00
fix(editor): surface-ref refFlavour should be affine:frame when reference to a frame (#11632)
This commit is contained in:
@@ -80,7 +80,7 @@ const builtinSurfaceToolbarConfig = {
|
||||
|
||||
ctx.store.addBlock(
|
||||
SurfaceRefBlockSchema.model.flavour,
|
||||
{ reference: frameId, refFlavour: NoteBlockSchema.model.flavour },
|
||||
{ reference: frameId, refFlavour: FrameBlockSchema.model.flavour },
|
||||
lastNoteId
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user