]>
BookStack Code Mirror - bookstack/blob - resources/js/wysiwyg/nodes/index.js
projects
/
bookstack
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ada229d9ea66680489899db8f6aae6e8c7e45ed1
[bookstack]
/
resources
/
js
/
wysiwyg
/
nodes
/
index.js
1
import {HeadingNode, QuoteNode} from '@lexical/rich-text';
2
import {Callout} from './callout';
3
4
/**
5
* Load the nodes for lexical.
6
* @returns {LexicalNode[]}
7
*/
8
export function getNodesForPageEditor() {
9
return [
10
Callout,
11
HeadingNode,
12
QuoteNode,
13
];
14
}