Closed raymonddaikon closed 2 weeks ago
I'm sorry that the documentation is not up to date. Add a line:
collection.meta.initialize();
should solve this issue.
```ts collection.meta.initialize();
It works!
New API updates are described in https://github.com/toeverything/blocksuite/pull/7455
Something broke in between
0.15.0-canary-202406061150-5c5d6fa
and0.15.0-canary-202406280242-21d8d15
that causesDocCollection
to not be able tocreateDoc
. I'm having trouble pinning down the exact changes between these two versions but all subsequent versions after0.15.0-canary-202406280242-21d8d15
including the latest0.15.0
release includes this bug.