lexical-remark
Version:
This package contains Markdown helpers and functionality for Lexical using remark-parse.
14 lines (13 loc) • 589 B
TypeScript
import lexical from 'lexical';
/**
* A command to insert a collapsible section. The (optional) argument is the summary text content.
*/
export declare const INSERT_COLLAPSIBLE_COMMAND: lexical.LexicalCommand<string | void>;
/**
* A command to toggle a collapsible section open or closed. The argument is thle key of the collapsible node.
*/
export declare const TOGGLE_COLLAPSIBLE_COMMAND: lexical.LexicalCommand<string>;
/**
* A Lexical plugin to register commands and event handlers related to the associated Collapsible nodes
*/
export declare function CollapsiblePlugin(): null;