fix(core): wrong title field from editor container proxy (#8826)

fix AF-1689
This commit is contained in:
forehalo 2024-11-15 06:02:41 +00:00
parent 5fade7aaf5
commit 54c51225ed
No known key found for this signature in database
GPG Key ID: 56709255DC7EC728

View File

@ -108,10 +108,7 @@ function DocPeekPreviewEditor({
})
);
const unbind = editor.bindEditorContainer(
editorContainer,
(editorContainer as any).title
);
const unbind = editor.bindEditorContainer(editorContainer);
if (mode === 'edgeless') {
fitViewport(editorContainer, xywh);