lexical-remark
Version:
This package contains Markdown helpers and functionality for Lexical using remark-parse.
11 lines (10 loc) • 362 B
TypeScript
/// <reference types="react" />
import { type LexicalCommand } from 'lexical';
/**
* A command to insert an embedded YouTube video. The argument is a video id.
*/
export declare const INSERT_YOUTUBE_COMMAND: LexicalCommand<string>;
/**
* A Lexical plugin to register the INSERT_YOUTUBE_COMMAND
*/
export declare function YouTubePlugin(): JSX.Element | null;