fix(editor): split at the start of list with children (#10244)

This commit is contained in:
Flrande
2025-02-18 09:10:00 +00:00
parent 0ed8b4f46a
commit cedee0a1b2
3 changed files with 167 additions and 35 deletions

View File

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