UNPKG

@mkljczk/lexical-remark

Version:

This package contains Markdown helpers and functionality for Lexical using remark-parse.

13 lines (12 loc) 578 B
/** * A command to insert a collapsible section. The (optional) argument is the summary text content. */ export declare const INSERT_COLLAPSIBLE_COMMAND: import("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: import("lexical").LexicalCommand<string>; /** * A Lexical plugin to register commands and event handlers related to the associated Collapsible nodes */ export declare function CollapsiblePlugin(): null;