fix: fix the problem caused by the default metadataTransducer registration timing being too late

This commit is contained in:
liujuping 2023-02-01 14:31:37 +08:00 committed by 林熠
parent 810ccbd03e
commit a42f538b06

View File

@ -66,7 +66,7 @@ async function registryInnerPlugin(designer: Designer, editor: Editor, plugins:
await plugins.register(setterRegistry, {}, { autoInit: true }); await plugins.register(setterRegistry, {}, { autoInit: true });
await plugins.register(defaultPanelRegistry(editor)); await plugins.register(defaultPanelRegistry(editor));
await plugins.register(builtinHotkey); await plugins.register(builtinHotkey);
await plugins.register(registerDefaults); await plugins.register(registerDefaults, {}, { autoInit: true });
} }
const innerWorkspace = new InnerWorkspace(registryInnerPlugin, shellModelFactory); const innerWorkspace = new InnerWorkspace(registryInnerPlugin, shellModelFactory);