chore: bump version (#3606)

This commit is contained in:
Alex Yang
2023-08-07 23:01:47 -04:00
committed by GitHub
parent b147624f1c
commit d101db2a39
23 changed files with 224 additions and 207 deletions

View File

@@ -45,9 +45,9 @@ type SubdocEvent = {
const docUpdateCallbackWeakMap = new WeakMap<Doc, UpdateCallback>();
const schema = new Schema();
export const globalBlockSuiteSchema = new Schema();
schema.register(AffineSchemas).register(__unstableSchemas);
globalBlockSuiteSchema.register(AffineSchemas).register(__unstableSchemas);
const createMonitor = (doc: Doc) => {
const onUpdate: UpdateCallback = (_, origin) => {
@@ -123,7 +123,7 @@ export function getOrCreateWorkspace(
providerCreators: typeof window === 'undefined' ? [] : providerCreators,
blobStorages: blobStorages,
idGenerator,
schema,
schema: globalBlockSuiteSchema,
});
createMonitor(workspace.doc);
setEditorFlags(workspace);