diff --git a/shared/editor/nodes/index.ts b/shared/editor/nodes/index.ts index 2dedceda1..88d771e3d 100644 --- a/shared/editor/nodes/index.ts +++ b/shared/editor/nodes/index.ts @@ -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