MCPcopy Create free account
hub / github.com/TypeCellOS/BlockNote / executeSlashCommand

Function executeSlashCommand

tests/src/utils/slashmenu.ts:9–15  ·  view source on GitHub ↗
(page: Page, command: string)

Source from the content-addressed store, hash-verified

7}
8
9export async function executeSlashCommand(page: Page, command: string) {
10 await openSlashMenu(page);
11 await page.waitForTimeout(100);
12 await page.keyboard.type(command);
13 await page.keyboard.press("Enter");
14 await page.waitForTimeout(500);
15}

Callers 14

slashmenu.test.tsFile · 0.85
dragdrop.test.tsFile · 0.85
draghandle.test.tsFile · 0.85
tables.test.tsFile · 0.85
colors.test.tsFile · 0.85
theming.test.tsFile · 0.85
ariakit.test.tsFile · 0.85
images.test.tsFile · 0.85

Calls 1

openSlashMenuFunction · 0.85

Tested by

no test coverage detected