mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-11 14:08:55 +08:00
fix(core): remove write version (#4202)
This commit is contained in:
@@ -34,21 +34,6 @@ export async function buildShowcaseWorkspace(
|
|||||||
store: ReturnType<typeof createStore>;
|
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 = {
|
const prototypes = {
|
||||||
tags: {
|
tags: {
|
||||||
options: [
|
options: [
|
||||||
|
|||||||
Reference in New Issue
Block a user