Skip to content

Latest commit

 

History

History
111 lines (78 loc) · 2.3 KB

CHANGELOG.md

File metadata and controls

111 lines (78 loc) · 2.3 KB

1.2.2 (2024-05-13)

Fixing package version numbers.

1.2.1-0 (2023-07-14)

findParentNode will not try to validate the parents by default

1.1.4 (2023-07-14)

Fix build files

1.1.3 (2023-07-14)

Changed

Fix #83: findParentNode is now returning undefined when selection head is not inside the same parent

1.1.2 (2023-07-14)

Changed

Add esm format to the build output

1.1.1 (2023-07-14)

Changed

Fix peerDependency issue on distribute packages

1.1.0 (2023-07-14)

Changed

TypeScript project migration

1.0.0 (2020-09-21)

Changed

  • Breaking change; removed prosemirror-tables dependency

All utility functions related to tables will be moved to editor-tables. A link will be added once it is publicly available.

We are in the process of deprecating promisemirror-tables as the code has become increasingly difficult to maintain.

The functions removed in this release are:

  • addColumnAt
  • addRowAt
  • cloneRowAt
  • convertArrayOfRowsToTableNode
  • convertTableNodeToArrayOfRows
  • createCell
  • createTable
  • emptyCell
  • findCellClosestToPos
  • findCellRectClosestToPos
  • findTable
  • findTableClosestToPos
  • forEachCellInColumn
  • forEachCellInRow
  • getCellsInColumn
  • getCellsInRow
  • getCellsInTable
  • getSelectionRangeInColumn
  • getSelectionRangeInRow
  • getSelectionRect
  • isCellSelection
  • isColumnSelected
  • isRectSelected
  • isRowSelected
  • isTableSelected
  • moveColumn
  • moveRow
  • moveTableColumn
  • moveTableRow
  • removeColumnAt
  • removeColumnClosestToPos
  • removeRowAt
  • removeRowClosestToPos
  • removeSelectedColumns
  • removeSelectedRows
  • removeTable
  • selectColumn
  • selectRow
  • selectTable
  • setCellAttrs
  • tableNodeTypes
  • transpose

0.9.6 (2018-08-07)

Changed

  • Upgrade prosemirror-tables dependecy to 0.9.1

Fixed

  • Fix types for convertTableNodeToArrayOfRows and convertArrayOfRowsToTableNode, they were using ProsemirrorModel[] instead of Array<ProsemirrorModel[] | null>

0.5.0 (2018-06-04)

Breaking changes

Changed returning value of all selection utils to { node, start, pos}, where

  • start points to the start position of the node
  • pos points directly before the node
  • node ProseMirror node Previously, pos used to point to the start position of the node.