mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-01-03 23:42:28 +03:00
Lexical: Added support for table caption nodes
Needs linking up to the table form still.
This commit is contained in:
@@ -18,6 +18,7 @@ import {EditorUiContext} from "./ui/framework/core";
|
||||
import {MediaNode} from "@lexical/rich-text/LexicalMediaNode";
|
||||
import {HeadingNode} from "@lexical/rich-text/LexicalHeadingNode";
|
||||
import {QuoteNode} from "@lexical/rich-text/LexicalQuoteNode";
|
||||
import {CaptionNode} from "@lexical/table/LexicalCaptionNode";
|
||||
|
||||
/**
|
||||
* Load the nodes for lexical.
|
||||
@@ -32,6 +33,7 @@ export function getNodesForPageEditor(): (KlassConstructor<typeof LexicalNode> |
|
||||
TableNode,
|
||||
TableRowNode,
|
||||
TableCellNode,
|
||||
CaptionNode,
|
||||
ImageNode, // TODO - Alignment
|
||||
HorizontalRuleNode,
|
||||
DetailsNode,
|
||||
|
||||
Reference in New Issue
Block a user