Skip to content

Commit 2c5f052

Browse files
committed
fixup! ✨(frontend) preserve @ character when esc is pressed after typing it
1 parent da59994 commit 2c5f052

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to
1111
- ♿(frontend) improve accessibility:
1212
- ♿(frontend) improve ARIA in doc grid and editor for a11y #1519
1313
- 🐛(docx) fix image overflow by limiting width to 600px during export #1525
14+
- 🐛(frontend) preserve @ character when esc is pressed after typing it #1512
1415

1516
## [3.9.0] - 2025-11-10
1617

@@ -35,7 +36,6 @@ and this project adheres to
3536
- 🐛(backend) fix s3 version_id validation #1543
3637
- 🐛(frontend) retry check media status after page reload #1555
3738
- 🐛(frontend) fix Interlinking memory leak #1560
38-
- 🐛(frontend) preserve @ character when esc is pressed after typing it #1512
3939
- 🐛(frontend) button new doc UI fix #1557
4040
- 🐛(frontend) interlinking UI fix #1557
4141

src/frontend/apps/e2e/__tests__/app-impress/doc-editor.spec.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -806,26 +806,9 @@ test.describe('Doc Editor', () => {
806806
});
807807
await expect(interlinkChild1).toBeVisible({ timeout: 10000 });
808808
await expect(interlinkChild1.locator('svg').first()).toBeVisible();
809-
});
810-
811-
test('it keeps @ when pressing Escape', async ({ page, browserName }) => {
812-
const [randomDoc] = await createDoc(
813-
page,
814-
'doc-interlink-esc',
815-
browserName,
816-
1,
817-
);
818809

819-
await verifyDocName(page, randomDoc);
820-
821-
const editor = await getEditor({ page });
822810
await page.keyboard.press('@');
823811

824-
const searchInput = page.locator(
825-
"span[data-inline-content-type='interlinkingSearchInline'] input",
826-
);
827-
await expect(searchInput).toBeVisible();
828-
829812
await page.keyboard.press('Escape');
830813

831814
await expect(editor.getByText('@')).toBeVisible();

0 commit comments

Comments
 (0)