mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-25 03:53:19 +03:00
fix(core): remove write version (#4202)
This commit is contained in:
parent
6af7aefe00
commit
d2484d0b8d
@ -34,21 +34,6 @@ export async function buildShowcaseWorkspace(
|
||||
store: ReturnType<typeof createStore>;
|
||||
}
|
||||
) {
|
||||
const showcaseWorkspaceVersions = {
|
||||
'affine:code': 1,
|
||||
'affine:paragraph': 1,
|
||||
'affine:page': 2,
|
||||
'affine:list': 1,
|
||||
'affine:note': 1,
|
||||
'affine:divider': 1,
|
||||
'affine:image': 1,
|
||||
'affine:surface': 3,
|
||||
'affine:bookmark': 1,
|
||||
'affine:database': 2,
|
||||
};
|
||||
workspace.doc
|
||||
.getMap('meta')
|
||||
.set('blockVersions', new YMap(Object.entries(showcaseWorkspaceVersions)));
|
||||
const prototypes = {
|
||||
tags: {
|
||||
options: [
|
||||
|
Loading…
Reference in New Issue
Block a user