mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-03 06:03:21 +03:00
fix(core): wrong title field from editor container proxy (#8826)
fix AF-1689
This commit is contained in:
parent
5fade7aaf5
commit
54c51225ed
@ -108,10 +108,7 @@ function DocPeekPreviewEditor({
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
const unbind = editor.bindEditorContainer(
|
const unbind = editor.bindEditorContainer(editorContainer);
|
||||||
editorContainer,
|
|
||||||
(editorContainer as any).title
|
|
||||||
);
|
|
||||||
|
|
||||||
if (mode === 'edgeless') {
|
if (mode === 'edgeless') {
|
||||||
fitViewport(editorContainer, xywh);
|
fitViewport(editorContainer, xywh);
|
||||||
|
Loading…
Reference in New Issue
Block a user