fix(editor): only render emoji in page block header (#10096)

This commit is contained in:
L-Sun
2025-02-11 14:29:23 +00:00
parent d021e4cddc
commit 42bdae16fb
2 changed files with 23 additions and 15 deletions

View File

@@ -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');
});