* 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
297 B
TypeScript
10 lines
297 B
TypeScript
'use client'
|
|
import type { LexicalCommand } from 'lexical'
|
|
|
|
import lexicalImport from 'lexical'
|
|
const { createCommand } = lexicalImport
|
|
|
|
export const INSERT_UPLOAD_WITH_DRAWER_COMMAND: LexicalCommand<{
|
|
replace: { nodeKey: string } | false
|
|
}> = createCommand('INSERT_UPLOAD_WITH_DRAWER_COMMAND')
|