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

Function openSlashMenu

tests/src/utils/slashmenu.ts:4–7  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

2import { SLASH_MENU_SELECTOR } from "./const.js";
3
4export async function openSlashMenu(page: Page) {
5 await page.keyboard.press("/");
6 await page.waitForSelector(SLASH_MENU_SELECTOR);
7}
8
9export async function executeSlashCommand(page: Page, command: string) {
10 await openSlashMenu(page);

Callers 2

executeSlashCommandFunction · 0.85
slashmenu.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected