fix: Shift+click on table grip does not select rows/columns in between

This commit is contained in:
Tom Moor
2024-06-02 15:39:37 -04:00
parent 321f89effb
commit 899a15afaf

View File

@@ -77,7 +77,14 @@ export const listExtensions: Nodes = [
ListItem,
];
export const tableExtensions: Nodes = [Table, TableCell, TableHeader, TableRow];
export const tableExtensions: Nodes = [
TableCell,
TableHeader,
TableRow,
// Note: Table nodes comes last to ensure the table selection plugin is registered after the
// plugins for table grips in TableCell and TableHeader.
Table,
];
/**
* The full set of nodes that are used in the editor. This is used for rich