fix(electron): bookmark plugin wound not work (#2776)

This commit is contained in:
Himself65
2023-06-15 00:43:28 +08:00
committed by GitHub
parent 5d75ceeeb5
commit 44580f6af0
9 changed files with 64 additions and 40 deletions

View File

@@ -22,7 +22,8 @@
"@blocksuite/editor": "0.0.0-20230607055421-9b20fcaf-nightly",
"@blocksuite/global": "0.0.0-20230607055421-9b20fcaf-nightly",
"@blocksuite/lit": "0.0.0-20230607055421-9b20fcaf-nightly",
"@blocksuite/store": "0.0.0-20230607055421-9b20fcaf-nightly"
"@blocksuite/store": "0.0.0-20230607055421-9b20fcaf-nightly",
"jotai": "^2.1.1"
},
"devDependencies": {
"jotai": "^2.1.1",

View File

@@ -32,6 +32,7 @@ export function definePlugin<ID extends string>(
if (isServer) {
if (serverAdapter) {
console.log('register server adapter');
serverAdapter
.load()
.then(({ default: adapter }) => {