plane/packages/editor
M. Palanikannan b340232e76 chore: Updated TableView component in table extension to solve sentry (#3309)
error of table not being defined while getting getBoundingClientRect()
and solve other TS issues

- Added ResolvedPos import from @tiptap/pm/model
- Updated setCellsBackgroundColor function parameter type to string
- Declared ToolboxItem type for toolbox items
- Modified columnsToolboxItems and rowsToolboxItems to use the ToolboxItem type
- Updated createToolbox function parameters to specify Element or null for triggerButton and ToolboxItem[] for items
- Added ts-expect-error comment above the toolbox variable declaration
- Updated update method parameter type to readonly Decoration[]
- Changed destructuring assignment of hoveredTable and hoveredCell in updateControls method to use Object.values and reduce method
- Added null check for this.table in updateControls method
- Wrapped the code that updates columnsControl and rowsControl with null checks for each control
- Replaced ts-ignore comments with proper dispatch calls in selectColumn and selectRow methods

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-01-22 13:19:43 +05:30
..
core chore: Updated TableView component in table extension to solve sentry (#3309) 2024-01-22 13:19:43 +05:30
document-editor fix: eslint dependencies fixes 2023-12-26 17:03:43 +05:30
extensions fix: eslint dependencies fixes 2023-12-26 17:03:43 +05:30
lite-text-editor [refactor] Editor code refactoring (#3194) 2023-12-22 18:10:18 +05:30
rich-text-editor [refactor] Editor code refactoring (#3194) 2023-12-22 18:10:18 +05:30