Skip to content

Bug: Paste tables in tables even if hasNestedTables: false #8077

@zoltanhosszu

Description

@zoltanhosszu

This is a screen recording from the Lexical playground:

Screen.Recording.2026-01-14.at.23.00.42.mov

Lexical version: latest on playground

Steps To Reproduce

  1. Select a table and copy it to clipboard
  2. Select multiple cells of the table
  3. Right click and paste

The current behavior

The copied content from the clipboard gets inserted, including a table, within the table.

The expected behavior

The table should be stripped out when pasting into a table.

Impact of fix

This could prevent some abuse of content blocks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    tablesRelates to Lexical Tables

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions