mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 22:37:04 +08:00
fix: title behavior on BlockSuite editor (#1264)
This commit is contained in:
@@ -46,7 +46,7 @@ beforeEach(async () => {
|
||||
expect(page).not.toBeNull();
|
||||
assertExists(page);
|
||||
const pageBlockId = page.addBlockByFlavour('affine:page', {
|
||||
title: '',
|
||||
title: new page.Text(''),
|
||||
});
|
||||
const frameId = page.addBlockByFlavour('affine:frame', {}, pageBlockId);
|
||||
page.addBlockByFlavour('affine:paragraph', {}, frameId);
|
||||
|
||||
Reference in New Issue
Block a user