Skip to content

Commit

Permalink
fix(page): surface element break path calculate in page mode (#4948)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flrande committed Oct 3, 2023
1 parent 80a16d2 commit 9641d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blocks/src/surface-block/surface-block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ export class SurfaceBlockComponent extends BlockElement<SurfaceBlockModel> {
private _surfaceContainer!: HTMLElement;

override connectedCallback() {
if (!this._isEdgeless) return;
super.connectedCallback();
if (!this._isEdgeless) return;
const { edgeless } = this;
this._renderer = new Renderer();
this._yContainer = this.model.elements.getValue() as Y.Map<Y.Map<unknown>>;
Expand Down

2 comments on commit 9641d41

@vercel
Copy link

@vercel vercel bot commented on 9641d41 Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blocksuite – ./packages/playground

blocksuite-git-master-toeverything.vercel.app
blocksuite-five.vercel.app
blocksuite-toeverything.vercel.app

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Size Report

Bundles

Entry Size Gzip Brotli
examples/basic 11 MB (-9.42 kB) 2.17 MB (-470 B) 1.35 MB (-1.28 kB)

Packages

Name Size Gzip Brotli
blocks 1.51 MB (-2 kB) 377 kB (-481 B) 285 kB (-365 B)
editor 8.85 kB 3.33 kB 2.92 kB
store 60.3 kB 17.4 kB 15.6 kB
virgo 31.3 kB (+1.11 kB) 8.8 kB (+199 B) 7.88 kB (+179 B)

Please sign in to comment.