* working playwright * chore: use zipped, local build of playwright instead of patching it * chore: remove bloat * chore: get playwright and lexical to work by fixing imports from cjs modules
10 lines
290 B
TypeScript
10 lines
290 B
TypeScript
import type { LexicalCommand } from 'lexical'
|
|
|
|
import lexicalImport from 'lexical'
|
|
const { createCommand } = lexicalImport
|
|
|
|
import type { InsertBlockPayload } from './index.js'
|
|
|
|
export const INSERT_BLOCK_COMMAND: LexicalCommand<InsertBlockPayload> =
|
|
createCommand('INSERT_BLOCK_COMMAND')
|