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:
@@ -37,7 +37,7 @@ DocEditor.loaders = [
|
|||||||
id: 'test-workspace-id',
|
id: 'test-workspace-id',
|
||||||
schema,
|
schema,
|
||||||
});
|
});
|
||||||
|
workspace.doc.emit('sync', []);
|
||||||
workspace.meta.setProperties({
|
workspace.meta.setProperties({
|
||||||
tags: {
|
tags: {
|
||||||
options: [],
|
options: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user