Lexical: Added base table support and started resize handling

This commit is contained in:
Dan Brown
2024-06-21 13:47:47 +01:00
parent 13d970c7ce
commit f47f7dd9d2
7 changed files with 115 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import {LinkNode} from "@lexical/link";
import {ImageNode} from "./image";
import {DetailsNode, SummaryNode} from "./details";
import {ListItemNode, ListNode} from "@lexical/list";
import {TableCellNode, TableNode, TableRowNode} from "@lexical/table";
/**
* Load the nodes for lexical.
@ -17,6 +18,9 @@ export function getNodesForPageEditor(): (KlassConstructor<typeof LexicalNode> |
QuoteNode, // Todo - Create custom
ListNode, // Todo - Create custom
ListItemNode,
TableNode, // Todo - Create custom,
TableRowNode,
TableCellNode,
ImageNode,
DetailsNode, SummaryNode,
CustomParagraphNode,