Skip to content

[lexical-table] Bug Fix: Export $insertTableRowAtNode and $insertTableColumnAtNode - #8791

Merged
etrepum merged 1 commit into
meta:mainfrom
hamo-o:fix/export-insert-table-at-node
Jul 6, 2026
Merged

etrepum merged 1 commit into
meta:mainfrom
hamo-o:fix/export-insert-table-at-node

Conversation

@hamo-o

@hamo-o hamo-o commented Jul 6, 2026 •

Copy link
Copy Markdown
Contributor

Description

$insertTableRowAtNode and $insertTableColumnAtNode were added in #7408, and the deprecation notices for $insertTableRow / $insertTableColumn (#7415) point users to them:

image

However, they were never re-exported from @lexical/table's entry point (src/index.ts), so:

  • They cannot be imported from @lexical/table (only via deep/internal paths).
  • On the API docs, the {@link} references in the deprecation notices render as plain text, and there is no documentation page for either function — even though both have JSDoc and are already declared in flow/LexicalTable.js.flow.

This PR adds the two missing exports. Since typedoc generates the API docs from the package entry point, this also fixes the broken {@link} references and makes the functions' documentation pages appear.

Test plan

Before

import {$insertTableRowAtNode} from '@lexical/table';
// => Module '"@lexical/table"' has no exported member '$insertTableRowAtNode'.

$insertTableRowAtNode / $insertTableColumnAtNode mentioned in the deprecation notices are not linked and have no API docs entry.

After

import {$insertTableRowAtNode, $insertTableColumnAtNode} from '@lexical/table';
// OK

Both functions are documented under @lexical/table and the {@link} references resolve.

@vercel

vercel Bot commented Jul 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lexical Ready Ready Preview Jul 6, 2026 8:20am
lexical-playground Ready Ready Preview Jul 6, 2026 8:20am

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 6, 2026
@hamo-o
hamo-o marked this pull request as draft July 6, 2026 08:20
@hamo-o
hamo-o marked this pull request as ready for review July 6, 2026 08:24
@etrepum
etrepum added this pull request to the merge queue Jul 6, 2026
Merged via the queue into meta:main with commit 3366fcd Jul 6, 2026
73 checks passed
@etrepum etrepum mentioned this pull request Jul 9, 2026

This branch was successfully deployed

2 active deployments
Preview – lexical — 10d31845 Deployed Jul 6, 2026 by vercel[bot]
Preview – lexical-playground — 10d31845 Deployed Jul 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants