Repository navigation
[lexical-table] Bug Fix: Export $insertTableRowAtNode and $insertTableColumnAtNode - #8791
Merged
Merged
Conversation
hamo-o
requested review from
acywatson,
etrepum,
fantactuka,
ivailop7,
potatowagon and
zurfyx
as code owners
July 6, 2026 08:19
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
hamo-o
marked this pull request as draft
July 6, 2026 08:20
hamo-o
marked this pull request as ready for review
July 6, 2026 08:24
etrepum
approved these changes
Jul 6, 2026
Merged
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
$insertTableRowAtNodeand$insertTableColumnAtNodewere added in #7408, and the deprecation notices for$insertTableRow/$insertTableColumn(#7415) point users to them:However, they were never re-exported from
@lexical/table's entry point (src/index.ts), so:@lexical/table(only via deep/internal paths).{@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 inflow/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
$insertTableRowAtNode/$insertTableColumnAtNodementioned in the deprecation notices are not linked and have no API docs entry.After
Both functions are documented under
@lexical/tableand the{@link}references resolve.