mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 21:38:44 +08:00
refactor(core): move block collection to affine and implement as doc (#9514)
This commit is contained in:
@@ -448,7 +448,7 @@ export const databaseViewInitTemplate = (
|
||||
const rowId = model.doc.addBlock(
|
||||
'affine:paragraph',
|
||||
{
|
||||
text: new model.doc.Text(`Task ${i + 1}`),
|
||||
text: new Text(`Task ${i + 1}`),
|
||||
},
|
||||
model.id
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user