mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 06:16:59 +08:00
fix(editor): only render emoji in page block header (#10096)
This commit is contained in:
@@ -100,8 +100,10 @@ test.describe('edgeless page block', () => {
|
||||
page,
|
||||
}) => {
|
||||
const toolbar = locateHeaderToolbar(page);
|
||||
const expandButton = toolbar.getByTestId('edgeless-note-expand-button');
|
||||
await expandButton.click();
|
||||
const viewInPageButton = toolbar.getByTestId(
|
||||
'edgeless-note-view-in-page-button'
|
||||
);
|
||||
await viewInPageButton.click();
|
||||
|
||||
expect(await getPageMode(page)).toBe('page');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user