@blocksuite/inline
Advanced tools
Comparing version 0.12.0-canary-202402191436-2201798 to 0.12.0-canary-202402200831-bc2769f
@@ -31,3 +31,6 @@ import { assertExists } from '@blocksuite/global/utils'; | ||
await this.editor.waitForUpdate(); | ||
this.editor.requestUpdate(false); | ||
// improve performance | ||
requestIdleCallback(() => { | ||
this.editor.requestUpdate(false); | ||
}); | ||
} | ||
@@ -34,0 +37,0 @@ if (!sync) { |
{ | ||
"name": "@blocksuite/inline", | ||
"version": "0.12.0-canary-202402191436-2201798", | ||
"version": "0.12.0-canary-202402200831-bc2769f", | ||
"description": "A micro editor.", | ||
@@ -33,3 +33,3 @@ "type": "module", | ||
"zod": "^3.22.4", | ||
"@blocksuite/global": "0.12.0-canary-202402191436-2201798" | ||
"@blocksuite/global": "0.12.0-canary-202402200831-bc2769f" | ||
}, | ||
@@ -36,0 +36,0 @@ "scripts": { |
@@ -75,3 +75,6 @@ import { assertExists } from '@blocksuite/global/utils'; | ||
await this.editor.waitForUpdate(); | ||
this.editor.requestUpdate(false); | ||
// improve performance | ||
requestIdleCallback(() => { | ||
this.editor.requestUpdate(false); | ||
}); | ||
} | ||
@@ -78,0 +81,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
310935
5376
+ Added@blocksuite/global@0.12.0-canary-202402200831-bc2769f(transitive)
- Removed@blocksuite/global@0.12.0-canary-202402191436-2201798(transitive)
Updated@blocksuite/global@0.12.0-canary-202402200831-bc2769f