feat: enable slash menu by default (#939)

This commit is contained in:
Whitewater 2023-02-10 12:03:37 +08:00 committed by GitHub
parent 094e73b7fb
commit 944c455c3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ export const createBlocksuiteWorkspace = (
) => { ) => {
return new BlocksuiteWorkspace({ return new BlocksuiteWorkspace({
room: workspaceId, room: workspaceId,
defaultFlags: { enable_slash_menu: true },
...workspaceOption, ...workspaceOption,
}) })
.register(builtInSchemas) .register(builtInSchemas)