fix(editor): improve backspace ux for callout block (#10696)

This commit is contained in:
Flrande
2025-03-07 08:50:31 +00:00
parent 8d9746e0cc
commit 264f0dd2be
5 changed files with 99 additions and 2 deletions

View File

@@ -38,6 +38,12 @@ export async function pressArrowUp(page: Page, count = 1) {
}
}
export async function pressArrowDown(page: Page, count = 1) {
for (let i = 0; i < count; i++) {
await page.keyboard.press('ArrowDown', { delay: 20 });
}
}
export async function pressTab(page: Page) {
await page.keyboard.press('Tab', { delay: 50 });
}