blocksuite icon indicating copy to clipboard operation
blocksuite copied to clipboard

I got number of console errors "BlockSuiteError: Host is not ready to use, the `render` method should be called first"

Open KehindeWilliams opened this issue 1 year ago • 1 comments

Discussed in https://github.com/toeverything/blocksuite/discussions/9053

Originally posted by OpenBitSack January 10, 2025 Hi,

I'm currently using Blocksuite v0.18. Initially, I was on v0.12, and at that time, I didn’t encounter any console errors. However, after migrating to v0.18, I've been seeing number of console errors on the production site, but not in development mode. Has anyone else faced this issue or could offer some guidance on how to resolve it? Screenshot 2025-01-10 131120

KehindeWilliams avatar Jan 10 '25 21:01 KehindeWilliams

Hi, iam using 0.15.0 from now on & build my own adaptions if needed. The problem is there are serveral changes that are not in the docs. If you wanna use the version you have to go through the playground sourcecode & change your code like this: https://github.com/toeverything/blocksuite/tree/master/packages/playground/apps/default . But the newest versions have an icon spellin error in it, so you had to change the sourcecode. See https://github.com/toeverything/blocksuite/issues/9050

So iam forking 0.15.0 and working on that.

Joe3009 avatar Jan 25 '25 08:01 Joe3009