#Need help with new @lexical/table API

2 messages · Page 1 of 1 (latest)

slow hollow
#

Following exports have been removed somewhere after@lexical/table@0.5.0 :

  • import type { Cell } from "@lexical/table";
  • import { getCellFromTarget, $getElementGridForTableNode, getTableSelectionFromTableElement } from "@lexical/table"

Some might be obvious guess:

  • Cell to TableDOMCell
  • getCellFromTarget with getDOMCellFromTarget
  • $getElementGridForTableNode with $getElementForTableNode
  • DEPRECATED_$isGridSelection from lexical with $isTableSelection from @lexical/table.
  • getTableSelectionFromTableElement with getTableObserverFromTableElement.

Can someone help with pointing out the new equivalent exports?

vast mortarBOT