chore: cherry-pick change from enterprise fork
This commit is contained in:
@@ -69,32 +69,40 @@ export const basicExtensions: Nodes = [
|
||||
DateTime,
|
||||
];
|
||||
|
||||
export const listExtensions: Nodes = [
|
||||
CheckboxList,
|
||||
CheckboxItem,
|
||||
BulletList,
|
||||
OrderedList,
|
||||
ListItem,
|
||||
];
|
||||
|
||||
export const tableExtensions: Nodes = [
|
||||
Table,
|
||||
TableCell,
|
||||
TableHeadCell,
|
||||
TableRow,
|
||||
];
|
||||
|
||||
/**
|
||||
* The full set of nodes that are used in the editor. This is used for rich
|
||||
* editors that need advanced formatting.
|
||||
*/
|
||||
export const richExtensions: Nodes = [
|
||||
...basicExtensions.filter((n) => n !== SimpleImage),
|
||||
...listExtensions,
|
||||
...tableExtensions,
|
||||
Image,
|
||||
HardBreak,
|
||||
CodeBlock,
|
||||
CodeFence,
|
||||
CheckboxList,
|
||||
CheckboxItem,
|
||||
Blockquote,
|
||||
BulletList,
|
||||
OrderedList,
|
||||
Embed,
|
||||
ListItem,
|
||||
Attachment,
|
||||
Video,
|
||||
Notice,
|
||||
Heading,
|
||||
HorizontalRule,
|
||||
Table,
|
||||
TableCell,
|
||||
TableHeadCell,
|
||||
TableRow,
|
||||
Highlight,
|
||||
TemplatePlaceholder,
|
||||
Math,
|
||||
|
||||
Reference in New Issue
Block a user