mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Lexical: Started UI fundementals with basic button
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import {HeadingNode, QuoteNode} from '@lexical/rich-text';
|
||||
import {CalloutNode} from './callout';
|
||||
import {KlassConstructor, LexicalNode, LexicalNodeReplacement, ParagraphNode} from "lexical";
|
||||
import {ElementNode, KlassConstructor, LexicalNode, LexicalNodeReplacement, ParagraphNode} from "lexical";
|
||||
import {CustomParagraphNode} from "./custom-paragraph";
|
||||
|
||||
/**
|
||||
@ -20,3 +20,6 @@ export function getNodesForPageEditor(): (KlassConstructor<typeof LexicalNode> |
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
export type LexicalNodeMatcher = (node: LexicalNode|null|undefined) => boolean;
|
||||
export type LexicalElementNodeCreator = () => ElementNode;
|
Reference in New Issue
Block a user