1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-10-28 05:14:50 +03:00
Files
bookstack/resources/js/wysiwyg/nodes/index.js

15 lines
283 B
JavaScript

import {HeadingNode, QuoteNode} from '@lexical/rich-text';
import {Callout} from './callout';
/**
* Load the nodes for lexical.
* @returns {LexicalNode[]}
*/
export function getNodesForPageEditor() {
return [
Callout,
HeadingNode,
QuoteNode,
];
}