1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-06 11:42:36 +03:00

Lexical: Added basic list button/support

This commit is contained in:
Dan Brown
2024-06-19 16:14:20 +01:00
parent 9e43e03db4
commit e2409a5fab
6 changed files with 43 additions and 7 deletions

View File

@ -5,6 +5,7 @@ import {CustomParagraphNode} from "./custom-paragraph";
import {LinkNode} from "@lexical/link";
import {ImageNode} from "./image";
import {DetailsNode, SummaryNode} from "./details";
import {ListItemNode, ListNode} from "@lexical/list";
/**
* Load the nodes for lexical.
@ -14,6 +15,8 @@ export function getNodesForPageEditor(): (KlassConstructor<typeof LexicalNode> |
CalloutNode, // Todo - Create custom
HeadingNode, // Todo - Create custom
QuoteNode, // Todo - Create custom
ListNode, // Todo - Create custom
ListItemNode,
ImageNode,
DetailsNode, SummaryNode,
CustomParagraphNode,