fix(playground): storybook story load issue (#5672)

Since the properties adapter now depends on whenLoaded status of the ydoc, we may need to explicitly mark doc as emit if the workspace is created without using a provider.
This commit is contained in:
Peng Xiao 2024-01-24 02:56:07 +00:00
parent c2a978f0f2
commit 994ab96688
No known key found for this signature in database
GPG Key ID: 23F23D9E8B3971ED

View File

@ -37,7 +37,7 @@ DocEditor.loaders = [
id: 'test-workspace-id',
schema,
});
workspace.doc.emit('sync', []);
workspace.meta.setProperties({
tags: {
options: [],