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

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

No files matched your search

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