mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 01:09:54 +08: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(
|
ctx.store.addBlock(
|
||||||
SurfaceRefBlockSchema.model.flavour,
|
SurfaceRefBlockSchema.model.flavour,
|
||||||
{ reference: frameId, refFlavour: NoteBlockSchema.model.flavour },
|
{ reference: frameId, refFlavour: FrameBlockSchema.model.flavour },
|
||||||
lastNoteId
|
lastNoteId
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user