New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@udecode/plate-table

Package Overview
Dependencies
Maintainers
2
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/plate-table - npm Package Compare versions

Comparing version 3.0.2 to 3.1.2

8

CHANGELOG.md
# @udecode/plate-table
## 3.1.2
### Patch Changes
- [#997](https://github.com/udecode/plate/pull/997) [`1244bcb7`](https://github.com/udecode/plate/commit/1244bcb748411e6291d635647c2053b115704eb9) Thanks [@z0al](https://github.com/z0al)! - fix(table): jump to next header cell on TAB
- [#994](https://github.com/udecode/plate/pull/994) [`5651aed7`](https://github.com/udecode/plate/commit/5651aed704d69af85e2dd7d6f850e8dcabcd45f4) Thanks [@z0al](https://github.com/z0al)! - fix(table): only mark first row as table header
## 3.0.2

@@ -4,0 +12,0 @@

4

dist/index.es.js

@@ -146,3 +146,3 @@ import { getPlatePluginOptions, getPlatePluginType, isElement, getRenderElement } from '@udecode/plate-core';

const [tableCellNode, tableCellPath] = tableCell;
if (tableCellNode.type !== (getPlatePluginType(editor, ELEMENT_TD) || getPlatePluginType(editor, ELEMENT_TH))) return;
if (tableCellNode.type !== getPlatePluginType(editor, ELEMENT_TD) && tableCellNode.type !== getPlatePluginType(editor, ELEMENT_TH)) return;
const tableRow = getParent(editor, tableCellPath);

@@ -524,3 +524,3 @@ if (!tableRow) return;

}), getEmptyRowNode(editor, {
header,
header: false,
colCount: 2

@@ -527,0 +527,0 @@ })]

@@ -150,3 +150,3 @@ 'use strict';

const [tableCellNode, tableCellPath] = tableCell;
if (tableCellNode.type !== (plateCore.getPlatePluginType(editor, ELEMENT_TD) || plateCore.getPlatePluginType(editor, ELEMENT_TH))) return;
if (tableCellNode.type !== plateCore.getPlatePluginType(editor, ELEMENT_TD) && tableCellNode.type !== plateCore.getPlatePluginType(editor, ELEMENT_TH)) return;
const tableRow = plateCommon.getParent(editor, tableCellPath);

@@ -528,3 +528,3 @@ if (!tableRow) return;

}), getEmptyRowNode(editor, {
header,
header: false,
colCount: 2

@@ -531,0 +531,0 @@ })]

{
"name": "@udecode/plate-table",
"version": "3.0.2",
"version": "3.1.2",
"description": "Table plugin for Plate",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc