Skip to content

Commit

Permalink
fix(core): wrong title field from editor container proxy (#8826)
Browse files Browse the repository at this point in the history
  • Loading branch information
forehalo committed Nov 15, 2024
1 parent 5fade7a commit 54c5122
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 54c5122

Please sign in to comment.