Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeyens committed Aug 15, 2022
1 parent beec410 commit afe23ca
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/nodes/table/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* @file Automatically generated by barrelsby.
*/

export * from './constants';
export * from './createTablePlugin';
export * from './onKeyDownTable';
export * from './types';
Expand All @@ -15,4 +16,3 @@ export * from './withTable';
export * from './queries/index';
export * from './transforms/index';
export * from './utils/index';
export { overrideSelectionFromCell } from './transforms/overrideSelectionFromCell';
2 changes: 1 addition & 1 deletion packages/nodes/table/src/queries/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export * from './getCellInPreviousTableRow';
export * from './getNextTableCell';
export * from './getPreviousTableCell';
export * from './getTableAbove';
export * from './getTableEntries';
export * from './getTableColumnCount';
export * from './getTableColumnIndex';
export * from './getTableEntries';
export * from './getTableGridAbove';
export * from './getTableGridByRange';
1 change: 1 addition & 0 deletions packages/nodes/table/src/transforms/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ export * from './insertTable';
export * from './insertTableColumn';
export * from './insertTableRow';
export * from './moveSelectionFromCell';
export * from './overrideSelectionFromCell';
export * from './setTableColSize';
6 changes: 0 additions & 6 deletions packages/nodes/table/src/transforms/moveSelectionFromCell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@ export const moveSelectionFromCell = <V extends Value = Value>(
if (cellEntry) {
const [, cellPath] = cellEntry;

// const a = getPointBefore(editor, editor.selection?.focus!, {
// unit: 'line',
// });
//
// if (!isStartPoint(editor, a, cellPath)) return;

const nextCellPath = [...cellPath];

const offset = reverse ? -1 : 1;
Expand Down

1 comment on commit afe23ca

@vercel
Copy link

@vercel vercel bot commented on afe23ca Aug 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

plate – ./

plate-git-main-udecode.vercel.app
plate-udecode.vercel.app
plate.udecode.io
www.plate.udecode.io

Please sign in to comment.